aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-04 22:40:06 -0400
committercash <cash.costello@gmail.com>2011-11-04 22:40:06 -0400
commit54773892f88f53231b85d08d86d11557121d9609 (patch)
treefcc3738cf8104caf4d65ca261a973458363d19f8 /mod/messages
parent61a7e2e9e138ec166227794e2de96bdd8a268957 (diff)
downloadelgg-54773892f88f53231b85d08d86d11557121d9609.tar.gz
elgg-54773892f88f53231b85d08d86d11557121d9609.tar.bz2
Fixes #4059 page handlers all return nothing
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/start.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index 4a3b0b250..631a5f731 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -70,7 +70,7 @@ function messages_init() {
* Messages page handler
*
* @param array $page Array of URL components for routing
- * @return bool
+ * @return void
*/
function messages_page_handler($page) {
@@ -112,11 +112,7 @@ function messages_page_handler($page) {
case 'add':
include("$base_dir/send.php");
break;
- default:
- return false;
}
-
- return true;
}
/**