mirror of
https://github.com/avecms/AVE.cms.git
synced 2026-08-01 08:45:44 +00:00
11 lines
375 B
SQL
11 lines
375 B
SQL
UPDATE `{{prefix}}_sysblocks`
|
|
SET `sysblock_text` = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
|
|
`sysblock_text`,
|
|
'$AVE_DB->Query', 'DB::query'),
|
|
'$AVE_DB->EscStr', 'DB::escape'),
|
|
'->FetchAssocArray()', '->getAssoc()'),
|
|
'->FetchRow()', '->getObject()'),
|
|
'->GetCell()', '->getValue()'),
|
|
'->getCell()', '->getValue()')
|
|
WHERE `sysblock_text` LIKE '%$AVE_DB%';
|