Browse Source

fixing returns

tags/v5.0.0alpha1
Thomas Mueller 11 years ago
parent
commit
1093cdd823
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      lib/public/app.php

+ 3
- 4
lib/public/app.php 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 );
}

/**

Loading…
Cancel
Save