diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-14 19:11:01 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-12-14 19:11:01 -0800 |
commit | bae28965abb179948ccd50eabdc2c038a58b9b03 (patch) | |
tree | dfb9503bec536f0a8a03a92bbc4cd883e278e864 /install/update.php | |
parent | 63efbdffe6ef653e1556a7b34ea59b75b234e759 (diff) | |
download | volse-hubzilla-bae28965abb179948ccd50eabdc2c038a58b9b03.tar.gz volse-hubzilla-bae28965abb179948ccd50eabdc2c038a58b9b03.tar.bz2 volse-hubzilla-bae28965abb179948ccd50eabdc2c038a58b9b03.zip |
issue #446 apps usability - disable app if attached to a plugin that is uninstalled, allow system apps to be soft deleted and undeleted from the edit pane.
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index dbf3a08ca..eca7011a8 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1185 ); +define( 'UPDATE_VERSION' , 1186 ); /** * @@ -2472,3 +2472,12 @@ function update_r1184() { return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1185() { + + $r1 = q("alter table app add app_plugin char(255) not null default '' "); + + if($r1) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |