Selaa lähdekoodia

Security class now implements the Singleton interface

Taddeus Kroes 13 vuotta sitten
vanhempi
sitoutus
5614a4debc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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';