|
|
|
|
|
|
|
|
* @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 ); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |