| Total Complexity | 5 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class m2_initial_data extends \phpbb\db\migration\migration |
||
| 14 | { |
||
| 15 | public function effectively_installed() |
||
| 16 | { |
||
| 17 | $sql = 'SELECT * FROM ' . $this->table_prefix . 'ideas_statuses'; |
||
| 18 | $result = $this->db->sql_query_limit($sql, 1); |
||
| 19 | $row = $this->db->sql_fetchrow($result); |
||
| 20 | $this->db->sql_freeresult($result); |
||
| 21 | |||
| 22 | return $row !== false; |
||
| 23 | } |
||
| 24 | |||
| 25 | public static function depends_on() |
||
| 28 | } |
||
| 29 | |||
| 30 | public function update_data() |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | |||
| 37 | public function statuses_data() |
||
| 72 |