Parcourir la source

remove old_tabs

stanley-king il y a 7 ans
Parent
commit
2b4de6787e
1 fichiers modifiés avec 3 ajouts et 10 suppressions
  1. 3 10
      helper/index_tab.php

+ 3 - 10
helper/index_tab.php

@@ -40,17 +40,10 @@ class index_tab
 
     public function tabs()
     {
-        if($_SESSION['is_lasted'] || $_SESSION['client_type'] == 'ajax')
-        {
-            if(StatesHelper::fetch_state('tags')) {
-                $this->init();
-            }
-            return $this->mTabs;
-        }
-        else {
-            global $config;
-            return $config['old_tabs'];
+        if(StatesHelper::fetch_state('tags')) {
+            $this->init();
         }
+        return $this->mTabs;
     }
 
     private function init()