mirror of https://github.com/MISP/MISP
parent
7b022d815b
commit
0b807a2666
|
@ -23,9 +23,6 @@ cd ${PRJCT}
|
||||||
# create Whitelist table
|
# create Whitelist table
|
||||||
./Console/cake schema create DbWhitelist
|
./Console/cake schema create DbWhitelist
|
||||||
|
|
||||||
# create Blacklist table
|
|
||||||
./Console/cake schema create DbBlacklist
|
|
||||||
|
|
||||||
# update Schema, add Users.role_id
|
# update Schema, add Users.role_id
|
||||||
./Console/cake schema update -s 0.2.2.1
|
./Console/cake schema update -s 0.2.2.1
|
||||||
|
|
||||||
|
|
|
@ -380,7 +380,6 @@ class AppController extends Controller {
|
||||||
$this->loadModel('Event');
|
$this->loadModel('Event');
|
||||||
// first remove executing some Behaviors because of Noud's crappy code
|
// first remove executing some Behaviors because of Noud's crappy code
|
||||||
$this->Event->Behaviors->detach('Regexp');
|
$this->Event->Behaviors->detach('Regexp');
|
||||||
$this->Event->Behaviors->detach('Blacklist');
|
|
||||||
// get all events..
|
// get all events..
|
||||||
$events = $this->Event->find('all', array('recursive' => -1));
|
$events = $this->Event->find('all', array('recursive' => -1));
|
||||||
// for all events..
|
// for all events..
|
||||||
|
@ -408,7 +407,6 @@ class AppController extends Controller {
|
||||||
|
|
||||||
// first remove executing some Behaviors because of Noud's crappy code
|
// first remove executing some Behaviors because of Noud's crappy code
|
||||||
$this->Attribute->Behaviors->detach('Regexp');
|
$this->Attribute->Behaviors->detach('Regexp');
|
||||||
$this->Attribute->Behaviors->detach('Blacklist');
|
|
||||||
// for efficiency reasons remove the unique requirement
|
// for efficiency reasons remove the unique requirement
|
||||||
$this->Attribute->validator()->remove('value', 'unique');
|
$this->Attribute->validator()->remove('value', 'unique');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue