summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-07 10:12:08 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-07 14:54:54 +0100
commit547fbfdb76cf2094a9f75a73bb7eef385ed97cf6 (patch)
tree7cb005641c4fa90a1712bb7bb43eb8a56fe0e252 /apps/files_versions
parent9d3c14c7dd102784a4e1b57ed063cddf59f63f8c (diff)
downloadnextcloud-server-547fbfdb76cf2094a9f75a73bb7eef385ed97cf6.tar.gz
nextcloud-server-547fbfdb76cf2094a9f75a73bb7eef385ed97cf6.zip
Remove OC_DB::dropTable
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/appinfo/update.php5
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');