Skip to content
Snippets Groups Projects
Commit 73f7d082 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

started version numbering at 1.0

parent 1ed45dad
No related branches found
No related tags found
No related merge requests found
...@@ -7,11 +7,10 @@ class MigratePluginName extends Migration ...@@ -7,11 +7,10 @@ class MigratePluginName extends Migration
{ {
$db = DBManager::get(); $db = DBManager::get();
$owncloud_plugin_existed = $db->exec( $owncloud_plugin_exists = $db->query(
"UPDATE `plugins` SET `pluginname` = 'NextcloudPlugin' "SELECT '1' FROM `plugins` WHERE `pluginname` = 'OwnCloudPlugin'"
WHERE `pluginname` = 'OwnCloudPlugin'"
); );
if ($owncloud_plugin_existed) { if ($owncloud_plugin_exists->fetchColumn()) {
//Migrate the configuration from the OwnCloudPlugin: //Migrate the configuration from the OwnCloudPlugin:
$this->migrateConfigFromOwncloudPlugin(); $this->migrateConfigFromOwncloudPlugin();
} }
......
pluginname=NextcloudPlugin pluginname=NextcloudPlugin
pluginclassname=NextcloudPlugin pluginclassname=NextcloudPlugin
version=3.0 version=1.0
origin=data-quest origin=data-quest
studipMinVersion=5.0 studipMinVersion=5.0
studipMaxVersion=5.3.99 studipMaxVersion=5.3.99
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment