Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function effectively_installed() |
||
19 | { |
||
20 | $sql = 'SELECT module_id |
||
21 | FROM ' . $this->table_prefix . "modules |
||
22 | WHERE module_class = 'acp' |
||
23 | AND module_langname = 'ACP_ADMANAGEMENT_TITLE'"; |
||
24 | $result = $this->db->sql_query($sql); |
||
25 | $module_id = (int) $this->db->sql_fetchfield('module_id'); |
||
26 | $this->db->sql_freeresult($result); |
||
27 | |||
28 | return $module_id; |
||
29 | } |
||
30 | |||
63 |