From 466f0489c364441c125dffe6c9040bf6fcafd043 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 15:52:01 -0400 Subject: fix created, messages darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz --- lib/common.php | 2 +- lib/settingsaction.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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); -- cgit v1.2.3-54-g00ecf