Skip to content
Snippets Groups Projects
Commit b3a73c78 authored by Jakob Sack's avatar Jakob Sack
Browse files

Fix comments/documentation

parent 841be909
No related branches found
No related tags found
No related merge requests found
......@@ -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' );
......
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment