Some cleanup

- removal of references to the old blacklist
pull/217/head
iglocska 2013-07-11 10:47:44 +02:00
parent 7b022d815b
commit 0b807a2666
2 changed files with 0 additions and 5 deletions

View File

@ -23,9 +23,6 @@ cd ${PRJCT}
# create Whitelist table
./Console/cake schema create DbWhitelist
# create Blacklist table
./Console/cake schema create DbBlacklist
# update Schema, add Users.role_id
./Console/cake schema update -s 0.2.2.1

View File

@ -380,7 +380,6 @@ class AppController extends Controller {
$this->loadModel('Event');
// first remove executing some Behaviors because of Noud's crappy code
$this->Event->Behaviors->detach('Regexp');
$this->Event->Behaviors->detach('Blacklist');
// get all events..
$events = $this->Event->find('all', array('recursive' => -1));
// for all events..
@ -408,7 +407,6 @@ class AppController extends Controller {
// first remove executing some Behaviors because of Noud's crappy code
$this->Attribute->Behaviors->detach('Regexp');
$this->Attribute->Behaviors->detach('Blacklist');
// for efficiency reasons remove the unique requirement
$this->Attribute->validator()->remove('value', 'unique');