1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Reduced some memory usage.

This commit is contained in:
Cameron
2021-01-24 17:00:02 -08:00
parent 8508cabcad
commit 522d71d243
30 changed files with 99 additions and 104 deletions

View File

@@ -411,7 +411,7 @@ abstract class e_marketplace_adapter_abstract
*/
public function hasAuthKey()
{
return ($this->authKey !== null) ? true : false;
return $this->authKey !== null;
}
/**
@@ -1169,7 +1169,7 @@ class eAuth
$total = array();
foreach($params as $k => $v)
{
if(substr($k, 0, 5) != "eauth") continue;
if(strpos($k, "eauth") !== 0) continue;
if(is_array($v))
{
throw new Exception('Arrays not supported in headers', 200);