summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2013-07-02 07:26:48 -0700
committerBjörn Schießle <bjoern@schiessle.org>2013-07-02 07:26:48 -0700
commit4d4484fac13dee4afbbab6c8fc4cca533800acdf (patch)
treefdb762d3f4babe00cf22f8b690bfa9bb7c3cb976 /lib
parentcec8384b1a07ea4e8f6ac8534636bd24d7019ae7 (diff)
parent2e6ebe1ab4e1ae6d0fb730e833c09ac4dbbb895c (diff)
downloadnextcloud-server-4d4484fac13dee4afbbab6c8fc4cca533800acdf.tar.gz
nextcloud-server-4d4484fac13dee4afbbab6c8fc4cca533800acdf.zip
Merge pull request #3870 from owncloud/reset_migration_status
introduce pre-disable-app hook and first usage in files_encryption
Diffstat (limited to 'lib')
-rw-r--r--lib/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php
index f974dd9f594..f9b1c5ca7b5 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -259,6 +259,7 @@ class OC_App{
*/
public static function disable( $app ) {
// check if app is a shipped app or not. if not delete
+ \OC_Hook::emit('OC_App', 'pre_disable', array('app' => $app));
OC_Appconfig::setValue( $app, 'enabled', 'no' );
// check if app is a shipped app or not. if not delete