From c4aef892788ced15812cc31abcf34c085b66ce5a Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Thu, 27 Jun 2013 14:09:22 +0200 Subject: introduce pre-disable-app hook and use it for the encryption app to reset migration status if the app was disabled --- lib/app.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/app.php') 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 -- cgit v1.2.3