Code Duplication    Length = 8-9 lines in 2 locations

application/modules/admin/cache_all.php 1 location

@@ 21-29 (lines=9) @@
18
        $this->lib_admin->init_settings();
19
    }
20
21
    public function index() {
22
23
        $this->template->assign('allFile', $this->cache->cache_file());
24
25
        $langs = $this->cms_admin->get_langs();
26
27
        $this->template->assign('langs', $langs);
28
        $this->template->show('cache_all', FALSE);
29
    }
30
31
}
32

application/modules/admin/languages.php 1 location

@@ 25-32 (lines=8) @@
22
        $this->lib_admin->init_settings();
23
    }
24
25
    public function index() {
26
27
        $settings = $this->cms_admin->get_settings();
28
        $this->template->assign('template_selected', $settings['site_template']);
29
        $langs = $this->cms_admin->get_langs();
30
        $this->template->assign('langs', $langs);
31
        $this->template->show('languages', FALSE);
32
    }
33
34
    /**
35
     * return set of locales