X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModule.php;h=5185771d1c51294f0f921c1e13a4cc36bf29a991;hb=c07cb2c8f31154cc424e99c95740d753501e09b7;hp=dd9059bfba0db063fa3732b1969eacd42620da73;hpb=41f781c52af32b8748368b5c51f68b31fe0b7164;p=friendica.git diff --git a/src/BaseModule.php b/src/BaseModule.php index dd9059bfba..5185771d1c 100644 --- a/src/BaseModule.php +++ b/src/BaseModule.php @@ -4,7 +4,6 @@ namespace Friendica; use Friendica\Core\L10n; use Friendica\Core\Logger; -use Friendica\Core\System; /** * All modules in Friendica should extend BaseModule, although not all modules @@ -121,7 +120,7 @@ abstract class BaseModule extends BaseObject $a = \get_app(); $x = explode('.', $hash); - if (time() > (IntVal($x[0]) + $max_livetime)) { + if (time() > (intval($x[0]) + $max_livetime)) { return false; }