fixing returns

This commit is contained in:
Thomas Mueller 2013-01-06 23:57:27 +01:00
parent 19edb29cc3
commit 1093cdd823
1 changed files with 3 additions and 4 deletions

View File

@ -89,7 +89,7 @@ class App {
* @param $page string page to be included
*/
public static function registerPersonal( $app, $page ) {
return \OC_App::registerPersonal( $app, $page );
\OC_App::registerPersonal( $app, $page );
}
/**
@ -98,7 +98,7 @@ class App {
* @param $page string page to be included
*/
public static function registerAdmin( $app, $page ) {
return \OC_App::registerAdmin( $app, $page );
\OC_App::registerAdmin( $app, $page );
}
/**
@ -125,10 +125,9 @@ class App {
/**
* @brief Check if the app is enabled, redirects to home if not
* @param $app app
* @returns true/false
*/
public static function checkAppEnabled( $app ) {
return \OC_Util::checkAppEnabled( $app );
\OC_Util::checkAppEnabled( $app );
}
/**