Phase 3: Update remaining code references (classes, constants, functions)
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
4b771d498f
commit
d692485a08
188 changed files with 338 additions and 338 deletions
|
|
@ -40,7 +40,7 @@ function path_check()
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
function exec_ogp_module()
|
||||
function exec_gsp_module()
|
||||
{
|
||||
global $db, $view;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
// todo, make checking and updating functions for updateing on the background.
|
||||
// todo, more specified updates in smaller packages
|
||||
|
||||
function exec_ogp_module()
|
||||
function exec_gsp_module()
|
||||
{
|
||||
global $db, $settings;
|
||||
runPostUpdateOperations();
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
// todo, make checking and updating functions for updateing on the background.
|
||||
// todo, more specified updates in smaller packages
|
||||
function exec_ogp_module()
|
||||
function exec_gsp_module()
|
||||
{
|
||||
global $db, $settings;
|
||||
define('REPONAME', 'OGP-Website');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function rmdir_recurse($path) {
|
|||
rmdir($path);
|
||||
}
|
||||
|
||||
function exec_ogp_module()
|
||||
function exec_gsp_module()
|
||||
{
|
||||
define('REPONAME', 'OGP-Website');
|
||||
if($_SESSION['users_group'] != "admin")
|
||||
|
|
@ -227,7 +227,7 @@ function exec_ogp_module()
|
|||
// update version info in db
|
||||
|
||||
$version = $db->real_escape_string($_GET['version']);
|
||||
$db->query("UPDATE GSP_DB_PREFIXsettings SET value = '$version' WHERE setting = 'ogp_version'");
|
||||
$db->query("UPDATE GSP_DB_PREFIXsettings SET value = '$version' WHERE setting = 'gsp_version'");
|
||||
$db->query("UPDATE GSP_DB_PREFIXsettings SET value = '$vtype' WHERE setting = 'version_type'");
|
||||
|
||||
// Remove the downloaded package
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue