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

* @param $page string page to be included * @param $page string page to be included
*/ */
public static function registerPersonal( $app, $page ) { public static function registerPersonal( $app, $page ) {
return \OC_App::registerPersonal( $app, $page );
\OC_App::registerPersonal( $app, $page );
} }


/** /**
* @param $page string page to be included * @param $page string page to be included
*/ */
public static function registerAdmin( $app, $page ) { public static function registerAdmin( $app, $page ) {
return \OC_App::registerAdmin( $app, $page );
\OC_App::registerAdmin( $app, $page );
} }


/** /**
/** /**
* @brief Check if the app is enabled, redirects to home if not * @brief Check if the app is enabled, redirects to home if not
* @param $app app * @param $app app
* @returns true/false
*/ */
public static function checkAppEnabled( $app ) { public static function checkAppEnabled( $app ) {
return \OC_Util::checkAppEnabled( $app );
\OC_Util::checkAppEnabled( $app );
} }


/** /**

Loading…
Cancel
Save