mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Update
This commit is contained in:
parent
4e0be4ea6c
commit
b79a2d40b2
1 changed files with 7 additions and 0 deletions
|
@ -180,6 +180,13 @@ class YPTWallet extends PluginAbstract
|
||||||
sqlDal::writeSql(trim($value));
|
sqlDal::writeSql(trim($value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (AVideoPlugin::compareVersion($this->getName(), "5.1") < 0) {
|
||||||
|
$sqls = file_get_contents($global['systemRootPath'] . 'plugin/YPTWallet/install/updateV5.1.sql');
|
||||||
|
$sqlParts = explode(";", $sqls);
|
||||||
|
foreach ($sqlParts as $value) {
|
||||||
|
sqlDal::writeSql(trim($value));
|
||||||
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue