diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-07 20:13:16 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-07 20:13:16 +0100 |
commit | 1cc6fddead3f71d170557e99ef8676724cb58a6e (patch) | |
tree | 62afe797fb92bba787b98345264cbe10644c1863 /apps/files_versions | |
parent | e30740648686c6b9e6743f8551487274d43b006c (diff) | |
parent | 190cc2bb6762c5f505e1e90bd582caa4fecb9cce (diff) | |
download | nextcloud-server-1cc6fddead3f71d170557e99ef8676724cb58a6e.tar.gz nextcloud-server-1cc6fddead3f71d170557e99ef8676724cb58a6e.zip |
Merge pull request #21498 from owncloud/cleanup-OC_DB
Cleanup OC_DB methods
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/appinfo/update.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files_versions/appinfo/update.php b/apps/files_versions/appinfo/update.php index ef6772f3079..eb04cf090ed 100644 --- a/apps/files_versions/appinfo/update.php +++ b/apps/files_versions/appinfo/update.php @@ -20,11 +20,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ -$installedVersion=OCP\Config::getAppValue('files_versions', 'installed_version'); -// move versions to new directory -if (version_compare($installedVersion, '1.0.4', '<')) { - \OC_DB::dropTable("files_versions"); -} // Cron job for deleting expired trash items \OC::$server->getJobList()->add('OCA\Files_Versions\BackgroundJob\ExpireVersions'); |