summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 15:52:01 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 15:52:01 -0400
commit466f0489c364441c125dffe6c9040bf6fcafd043 (patch)
tree273f4599d8322545a8c831489ffde3c4c876c069 /lib
parent850bfc0a35bfb0dbfcb9ba4d7eb859f35224bc07 (diff)
fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php2
-rw-r--r--lib/settingsaction.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/common.php b/lib/common.php
index fbe90e030..730dae395 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -293,7 +293,7 @@ function common_local_url($action, $args=NULL) {
function common_date_string($dt) {
// XXX: do some sexy date formatting
- return date(DATE_RFC822);
+ return date(DATE_RFC822, $dt);
}
function common_redirect($url, $code=307) {
diff --git a/lib/settingsaction.php b/lib/settingsaction.php
index af7fcb258..ae5b537f8 100644
--- a/lib/settingsaction.php
+++ b/lib/settingsaction.php
@@ -42,7 +42,7 @@ class SettingsAction extends Action {
return false;
}
- function show_message($msg, $success) {
+ function message($msg, $success) {
if ($msg) {
common_element('div', ($success) ? 'success' : 'error',
$msg);