Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class mybb16 extends Importers\AbstractSourceImporter |
||
15 | { |
||
16 | protected $setting_file = '/inc/config.php'; |
||
17 | |||
18 | public function getName() |
||
19 | { |
||
20 | return 'MyBB 1.6'; |
||
21 | } |
||
22 | |||
23 | public function getVersion() |
||
26 | } |
||
27 | |||
28 | public function getPrefix() |
||
34 | } |
||
35 | |||
36 | public function getDbName() |
||
37 | { |
||
38 | // @todo Convert the use of globals to a scan of the file or something similar. |
||
39 | global $config; |
||
40 | |||
41 | return $config['database']['database']; |
||
42 | } |
||
43 | |||
44 | public function getTableTest() |
||
47 | } |
||
48 | } |