Преглед изворни кода

Security class now implements the Singleton interface

Taddeus Kroes пре 13 година
родитељ
комит
5614a4debc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      security.php

+ 1 - 1
security.php

@@ -118,7 +118,7 @@ interface AuthorizedUser {
 	function getRole();
 }
 
-class Security {
+class Security implements Singleton {
 	const SESSION_TOKEN_NAME = 'auth_token';
 	const SESSION_NAME_USERDATA = 'auth_userdata';