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