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:
@@ -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');
|
||||
|
Reference in New Issue
Block a user