| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| 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_AKISMET_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 | return $module_id; |
||
| 28 | } |
||
| 60 |