mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-12 13:21:09 +00:00
fix variable name
This commit is contained in:
parent
30a81ca6fb
commit
fde30da74c
@ -146,13 +146,13 @@ switch ($argv[1]) {
|
|||||||
|
|
||||||
$db->beginTransaction();
|
$db->beginTransaction();
|
||||||
|
|
||||||
foreach ($db->getHostPageSnapStorages($hostPageSnapId) as $hostPageSnapStorage) {
|
foreach ($db->getHostPageSnapStorages($hostPageSnap->hostPageSnapId) as $hostPageSnapStorage) {
|
||||||
|
|
||||||
$db->deleteHostPageSnapDownloads($hostPageSnapStorage->hostPageSnapStorageId);
|
$db->deleteHostPageSnapDownloads($hostPageSnapStorage->hostPageSnapStorageId);
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->deleteHostPageSnapStorages($hostPageSnapId);
|
$db->deleteHostPageSnapStorages($hostPageSnap->hostPageSnapId);
|
||||||
$db->deleteHostPageSnap($hostPageSnapId);
|
$db->deleteHostPageSnap($hostPageSnap->hostPageSnapId);
|
||||||
|
|
||||||
CLI::danger(sprintf(_('delete snap index: #%s file: %s not found in the any of storage;'), $hostPageSnap->hostPageSnapId, $filename));
|
CLI::danger(sprintf(_('delete snap index: #%s file: %s not found in the any of storage;'), $hostPageSnap->hostPageSnapId, $filename));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user