Removed sparse add_access_extensions call.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 1 Oct 2009 20:09:33 +0000 (20:09 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 1 Oct 2009 20:09:33 +0000 (20:09 +0000)
includes/session.inc

index 3617a91c8dc709e80b4ad74c9f89af9ae5f578a7..2178a8d51e84b5a339fad042b69d176dd64cf3b1 100644 (file)
@@ -229,15 +229,6 @@ if (strstr($_SERVER['PHP_SELF'], 'logout.php') == false){
                $_SESSION["App"] = new front_accounting();
                $_SESSION["App"]->init();
        }
-
-       /*
-       This call is necessary only at:
-       . on any page with non-standard security areas
-       . in security roles editor
-       To be optmized  after.
-       */
-       add_access_extensions();
-
 }
 // POST vars cleanup needed for direct reuse.
 // We quote all values later with db_escape() before db update.