Fix comments/documentation
This commit is contained in:
parent
841be90939
commit
b3a73c78e8
|
@ -100,11 +100,11 @@ class OC_App{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief enables an app
|
* @brief disables an app
|
||||||
* @param $app app
|
* @param $app app
|
||||||
* @returns true/false
|
* @returns true/false
|
||||||
*
|
*
|
||||||
* This function set an app as enabled in appconfig.
|
* This function set an app as disabled in appconfig.
|
||||||
*/
|
*/
|
||||||
public static function disable( $app ){
|
public static function disable( $app ){
|
||||||
OC_Appconfig::setValue( $app, 'enabled', 'no' );
|
OC_Appconfig::setValue( $app, 'enabled', 'no' );
|
||||||
|
|
|
@ -20,7 +20,7 @@ class OC_Hook{
|
||||||
* TODO: write example
|
* TODO: write example
|
||||||
*/
|
*/
|
||||||
static public function connect( $signalclass, $signalname, $slotclass, $slotname ){
|
static public function connect( $signalclass, $signalname, $slotclass, $slotname ){
|
||||||
// Cerate the data structure
|
// Create the data structure
|
||||||
if( !array_key_exists( $signalclass, self::$registered )){
|
if( !array_key_exists( $signalclass, self::$registered )){
|
||||||
self::$registered[$signalclass] = array();
|
self::$registered[$signalclass] = array();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue