pending commit, finished during MQ/S download ...
[platal.git] / plugins / block.min_auth.php
index 5f4324a..5caa432 100644 (file)
@@ -33,8 +33,8 @@ function smarty_block_min_auth($params, $content, &$smarty)
     if( empty($content) || empty($params['level'] ))
         return;
     if( ($params['level'] == 'public') ||
-        ($params['level'] == 'cookie' && logged()) ||
-        ($params['level'] == 'auth' && identified()) )
+        ($params['level'] == 'cookie' && S::logged()) ||
+        ($params['level'] == 'auth' && S::identified()) )
         return $content;
 }
 ?>