]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix comments/documentation
authorJakob Sack <kde@jakobsack.de>
Wed, 9 Nov 2011 10:32:06 +0000 (11:32 +0100)
committerJakob Sack <kde@jakobsack.de>
Wed, 9 Nov 2011 10:35:50 +0000 (11:35 +0100)
lib/app.php
lib/hook.php

index 30ebcf032b3d910feba016633cb6162ed49bccae..d3d998657622e8785fe01f62bdca4d46e0aa5200 100644 (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' );
index b069a7da6c0f36988fb270b4935107190025cc97..83a16106bf0909e03eaadd977d5d66236714242e 100644 (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();
                }