diff options
author | cash <cash.costello@gmail.com> | 2011-11-04 22:40:06 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-04 22:40:06 -0400 |
commit | 54773892f88f53231b85d08d86d11557121d9609 (patch) | |
tree | fcc3738cf8104caf4d65ca261a973458363d19f8 /mod/file/start.php | |
parent | 61a7e2e9e138ec166227794e2de96bdd8a268957 (diff) | |
download | elgg-54773892f88f53231b85d08d86d11557121d9609.tar.gz elgg-54773892f88f53231b85d08d86d11557121d9609.tar.bz2 |
Fixes #4059 page handlers all return nothing
Diffstat (limited to 'mod/file/start.php')
-rw-r--r-- | mod/file/start.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mod/file/start.php b/mod/file/start.php index 9007fc9ba..bb20fc7ba 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -100,7 +100,7 @@ function file_init() { * Title is ignored * * @param array $page - * @return NULL + * @return void */ function file_page_handler($page) { @@ -136,7 +136,6 @@ function file_page_handler($page) { include "$file_dir/owner.php"; break; case 'all': - default: include "$file_dir/world.php"; break; } @@ -145,10 +144,10 @@ function file_page_handler($page) { /** * Creates the notification message body * - * @param unknown_type $hook - * @param unknown_type $entity_type - * @param unknown_type $returnvalue - * @param unknown_type $params + * @param string $hook + * @param string $entity_type + * @param string $returnvalue + * @param array $params */ function file_notify_message($hook, $entity_type, $returnvalue, $params) { $entity = $params['entity']; |