diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-11-09 11:32:06 +0100 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-11-09 11:35:50 +0100 |
commit | b3a73c78e850bcb0c0cf4cc4a9338eebef5dfbfb (patch) | |
tree | 39c4fd51fa68e3b31a6cfcfd2c92ba793d4d24f5 /lib | |
parent | 841be90939a74048b0cba9e2085d4853a8a7c5bf (diff) | |
download | nextcloud-server-b3a73c78e850bcb0c0cf4cc4a9338eebef5dfbfb.tar.gz nextcloud-server-b3a73c78e850bcb0c0cf4cc4a9338eebef5dfbfb.zip |
Fix comments/documentation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/app.php | 4 | ||||
-rw-r--r-- | lib/hook.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/app.php b/lib/app.php index 30ebcf032b3..d3d99865762 100644 --- a/lib/app.php +++ b/lib/app.php @@ -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' ); diff --git a/lib/hook.php b/lib/hook.php index b069a7da6c0..83a16106bf0 100644 --- a/lib/hook.php +++ b/lib/hook.php @@ -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(); } |