| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | public function effectively_installed() |
||
| 22 | { |
||
| 23 | $sql = 'SELECT module_id |
||
| 24 | FROM ' . $this->table_prefix . "modules |
||
| 25 | WHERE module_class = 'acp' |
||
| 26 | AND module_langname = 'ACP_MANAGE_PREFIXES'"; |
||
| 27 | $result = $this->db->sql_query($sql); |
||
| 28 | $module_id = $this->db->sql_fetchfield('module_id'); |
||
| 29 | $this->db->sql_freeresult($result); |
||
| 30 | |||
| 31 | return $module_id !== false; |
||
| 32 | } |
||
| 33 | |||
| 56 |