Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Dec 9, 2023
1 parent ea8a3a9 commit 4a72666
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plugin/Live/Live.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,14 @@ public function updateScript()
}
LiveTransmitionHistory::finishALL();
}
if (AVideoPlugin::compareVersion($this->getName(), "12.0") < 0) {
$sqls = file_get_contents($global['systemRootPath'] . 'plugin/Live/install/updateV12.0.sql');
$sqlParts = explode(";", $sqls);
foreach ($sqlParts as $value) {
sqlDal::writeSql(trim($value));
}
LiveTransmitionHistory::finishALL();
}
return true;
}

Expand Down

0 comments on commit 4a72666

Please sign in to comment.