1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

PHP8 Plugin code cleanup

This commit is contained in:
Cameron
2021-01-21 09:38:38 -08:00
parent 9e0d014e39
commit f055b49d91
83 changed files with 753 additions and 675 deletions

View File

@@ -1496,7 +1496,12 @@ class comment
return null;
}
global $pref,$sql,$sql2,$tp;
$sql = e107::getDb();
$tp = e107::getParser();
$sql2 = e107::getDb('sql2');
$pref = e107::getPref();
$from1 = ($from ? $from : '0');
$amount1 = ($amount ? $amount : '10');
$valid = ($cdvalid ? $cdvalid : '0');