From 6e0338629774fffe5fbe7136dfce34ce83844a5c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 30 May 2006 03:26:33 +0000 Subject: Blog demo is completed. --- demos/blog/protected/Common/BlogErrors.php | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 demos/blog/protected/Common/BlogErrors.php (limited to 'demos/blog/protected/Common/BlogErrors.php') diff --git a/demos/blog/protected/Common/BlogErrors.php b/demos/blog/protected/Common/BlogErrors.php deleted file mode 100644 index 501ec1c9..00000000 --- a/demos/blog/protected/Common/BlogErrors.php +++ /dev/null @@ -1,23 +0,0 @@ -'Unknown error.', - self::ERROR_POST_NOT_FOUND=>'The specified post cannot be found.', - self::ERROR_USER_NOT_FOUND=>'The specified user account cannot be found.', - self::ERROR_PERMISSION_DENIED=>'Sorry, you do not have permission to perform this action.', - ); - - public static function getMessage($errorCode) - { - return isset(self::$_errorMessages[$errorCode])?self::$_errorMessages[$errorCode]:self::$_errorMessages[0]; - } -} - -?> \ No newline at end of file -- cgit v1.2.3