summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-12-12 13:03:26 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-12-12 13:03:26 +0100
commit4f92e4a233a4235cddf7260818fbdf09f67aec49 (patch)
tree7753d5b48df089cb4effeaebd01ee130dc713009 /lib/private
parentffd5e93f70c5e866d0b1207896c98cef44da9ce6 (diff)
parent46def69574e15b4ec3230c7e6131b882397e210c (diff)
downloadnextcloud-server-4f92e4a233a4235cddf7260818fbdf09f67aec49.tar.gz
nextcloud-server-4f92e4a233a4235cddf7260818fbdf09f67aec49.zip
Merge pull request #12808 from owncloud/add-special-parameterlist-to-manager
Add special parameterlist to manager
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/activitymanager.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/private/activitymanager.php b/lib/private/activitymanager.php
index e0ee7c1b055..70bd227b417 100644
--- a/lib/private/activitymanager.php
+++ b/lib/private/activitymanager.php
@@ -168,6 +168,25 @@ class ActivityManager implements IManager {
}
/**
+ * @param string $app
+ * @param string $text
+ * @return array|false
+ */
+ function getSpecialParameterList($app, $text) {
+ foreach($this->extensions as $extension) {
+ $c = $extension();
+ if ($c instanceof IExtension) {
+ $specialParameter = $c->getSpecialParameterList($app, $text);
+ if (is_array($specialParameter)) {
+ return $specialParameter;
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
* @param string $type
* @return string
*/