]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Hook.php
Remove duplicate profile_uid key in App->profile array
[friendica.git] / src / Core / Hook.php
index 959ed9fa16e3193069c9684ea75f97e927b7f4c5..f282d02c757007af116a6e5de46f5497437cf8ce 100644 (file)
@@ -5,7 +5,6 @@
 namespace Friendica\Core;
 
 use Friendica\App;
-use Friendica\BaseObject;
 use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Util\Strings;
@@ -13,7 +12,7 @@ use Friendica\Util\Strings;
 /**
  * Some functions to handle hooks
  */
-class Hook extends BaseObject
+class Hook
 {
        /**
         * Array of registered hooks
@@ -46,7 +45,7 @@ class Hook extends BaseObject
        }
 
        /**
-        * @brief Adds a new hook to the hooks array.
+        * Adds a new hook to the hooks array.
         *
         * This function is meant to be called by modules on each page load as it works after loadHooks has been called.
         *
@@ -63,7 +62,7 @@ class Hook extends BaseObject
        }
 
        /**
-        * @brief Registers a hook.
+        * Registers a hook.
         *
         * This function is meant to be called once when an addon is enabled for example as it doesn't add to the current hooks.
         *
@@ -128,7 +127,7 @@ class Hook extends BaseObject
        }
 
        /**
-        * @brief Forks a hook.
+        * Forks a hook.
         *
         * Use this function when you want to fork a hook via the worker.
         *
@@ -163,7 +162,7 @@ class Hook extends BaseObject
        }
 
        /**
-        * @brief Calls a hook.
+        * Calls a hook.
         *
         * Use this function when you want to be able to allow a hook to manipulate
         * the provided data.
@@ -182,7 +181,7 @@ class Hook extends BaseObject
        }
 
        /**
-        * @brief Calls a single hook.
+        * Calls a single hook.
         *
         * @param App             $a
         * @param string          $name of the hook to call