diff options
Diffstat (limited to 'lib/private/hook.php')
-rw-r--r-- | lib/private/hook.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/hook.php b/lib/private/hook.php index 8516cf0dcff..b63b442c31b 100644 --- a/lib/private/hook.php +++ b/lib/private/hook.php @@ -97,4 +97,12 @@ class OC_Hook{ self::$registered=array(); } } + + /** + * DO NOT USE! + * For unit tests ONLY! + */ + static public function getHooks() { + return self::$registered; + } } |