Robert Marshall 9 years ago
parent
commit
7684c26b4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Model/Session.php

+ 1 - 1
Model/Session.php

@@ -41,7 +41,7 @@ class Session extends DBObject {
 	public static function Destroy(){
 		self::Instantiate();
 		
-		$PDO=self::GetPDO();
+		$PDO=BaseRepository::GetPDO();
 		$prep=$PDO->prepare("DELETE FROM sessions WHERE session_id=?");
 		$prep->execute(array(self::$_instance->SessionId));