@@ -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()