Passed
Push — master ( d021a5...a13070 )
by Sam
03:47 queued 12s
created

m150829_085133_drop_disable_frodo_warning::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
class m150829_085133_drop_disable_frodo_warning extends CDbMigration
4
{
5
6
	public function up()
7
	{
8
		$this->delete('settings', 'name = :name', array(
9
			':name' => 'disableFrodoWarning'));
10
	}
11
12
	public function down()
13
	{
14
		$this->insert('settings', array(
15
			'name' => 'disableFrodoWarning',
16
			'value' => '0'));
17
	}
18
19
}
20