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
{
$db = DBManager::get();
$owncloud_plugin_existed = $db->exec(
"UPDATE `plugins` SET `pluginname` = 'NextcloudPlugin'
WHERE `pluginname` = 'OwnCloudPlugin'"
$owncloud_plugin_exists = $db->query(
"SELECT '1' FROM `plugins` WHERE `pluginname` = 'OwnCloudPlugin'"
);
if ($owncloud_plugin_existed) {
if ($owncloud_plugin_exists->fetchColumn()) {
//Migrate the configuration from the OwnCloudPlugin:
$this->migrateConfigFromOwncloudPlugin();
}
......
pluginname=NextcloudPlugin
pluginclassname=NextcloudPlugin
version=3.0
version=1.0
origin=data-quest
studipMinVersion=5.0
studipMaxVersion=5.3.99
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment