diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-28 14:40:27 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-11-28 14:40:27 +0100 |
commit | 2c157da1c2fece318cab652b56d36c46d50f5e3a (patch) | |
tree | daf287b8fe56f235150019c297c25fd1933003a0 | |
parent | b3afc98f82135e13babea67f28a0c52d2022b0a1 (diff) | |
parent | 00ad7d48c7ac88ace70c83e2d0841be667c47fa7 (diff) | |
download | nextcloud-server-2c157da1c2fece318cab652b56d36c46d50f5e3a.tar.gz nextcloud-server-2c157da1c2fece318cab652b56d36c46d50f5e3a.zip |
Merge pull request #12486 from owncloud/activity_priorities
add activity priorities to core so that other apps can reuse it
-rw-r--r-- | lib/public/activity/iextension.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/activity/iextension.php b/lib/public/activity/iextension.php index 6bb403a8896..e78ae0043a6 100644 --- a/lib/public/activity/iextension.php +++ b/lib/public/activity/iextension.php @@ -30,6 +30,13 @@ namespace OCP\Activity; interface IExtension { + + const PRIORITY_VERYLOW = 10; + const PRIORITY_LOW = 20; + const PRIORITY_MEDIUM = 30; + const PRIORITY_HIGH = 40; + const PRIORITY_VERYHIGH = 50; + /** * The extension can return an array of additional notification types. * If no additional types are to be added false is to be returned |