diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.php | 2 | ||||
-rw-r--r-- | lib/settingsaction.php | 2 |
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); |