diff options
author | zotlabs <mike@macgirvin.com> | 2019-01-08 14:14:55 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-01-08 14:14:55 -0800 |
commit | 39de8e28da6f24530ee898d6b7a89e96547d283e (patch) | |
tree | 0c382aace202fc31c4e45eace8fb35281ddf34f4 /Zotlabs | |
parent | 8ac541e634838eb83e918f9c04cc0993602c473e (diff) | |
download | volse-hubzilla-39de8e28da6f24530ee898d6b7a89e96547d283e.tar.gz volse-hubzilla-39de8e28da6f24530ee898d6b7a89e96547d283e.tar.bz2 volse-hubzilla-39de8e28da6f24530ee898d6b7a89e96547d283e.zip |
make Apps::get_base_apps() pluggable
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Apps.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 8cf62c01a..de7439ed7 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -57,7 +57,7 @@ class Apps { } static public function get_base_apps() { - return get_config('system','base_apps',[ + $x = get_config('system','base_apps',[ 'Connections', 'Network', 'Settings', @@ -72,6 +72,8 @@ class Apps { 'Mail', 'Profile Photo' ]); + call_hooks('get_base_apps',$x); + return $x; } static public function import_system_apps() { |