From 5632770c86d30361fe0c3eefc7d327786b478702 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 26 Nov 2013 11:34:52 +0100 Subject: Removed Wsat, will live in its own branch --- framework/Wsat/pages/layout/TWsatLayout.php | 32 ----------------------------- 1 file changed, 32 deletions(-) delete mode 100644 framework/Wsat/pages/layout/TWsatLayout.php (limited to 'framework/Wsat/pages/layout/TWsatLayout.php') diff --git a/framework/Wsat/pages/layout/TWsatLayout.php b/framework/Wsat/pages/layout/TWsatLayout.php deleted file mode 100644 index ce337265..00000000 --- a/framework/Wsat/pages/layout/TWsatLayout.php +++ /dev/null @@ -1,32 +0,0 @@ -validateSecurity(); - } - - private function validateSecurity() { - if ($this->Session["wsat_password"] !== $this->getService()->getPassword()) { - if (!$this->getPage() instanceof TWsatLogin) { - $url = $this->Service->constructUrl('TWsatLogin'); - $this->Response->redirect($url); - } - } - } - - public function logout() { - $this->Session["wsat_password"] = ""; - $url = $this->Service->constructUrl('TWsatLogin'); - $this->Response->redirect($url); - } - -} - -?> \ No newline at end of file -- cgit v1.2.3