Fix comments/documentation

This commit is contained in:
Jakob Sack 2011-11-09 11:32:06 +01:00
parent 841be90939
commit b3a73c78e8
2 changed files with 3 additions and 3 deletions

View File

@ -100,11 +100,11 @@ class OC_App{
}
/**
* @brief enables an app
* @brief disables an app
* @param $app app
* @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 ){
OC_Appconfig::setValue( $app, 'enabled', 'no' );

View File

@ -20,7 +20,7 @@ class OC_Hook{
* TODO: write example
*/
static public function connect( $signalclass, $signalname, $slotclass, $slotname ){
// Cerate the data structure
// Create the data structure
if( !array_key_exists( $signalclass, self::$registered )){
self::$registered[$signalclass] = array();
}