diff --git a/app/Console/shell/migrate-0.2.2-0.2.3.sh b/app/Console/shell/migrate-0.2.2-0.2.3.sh index 28cf5d93b..74a0e364a 100755 --- a/app/Console/shell/migrate-0.2.2-0.2.3.sh +++ b/app/Console/shell/migrate-0.2.2-0.2.3.sh @@ -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 diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index 2900c21fd..6d0d7ff42 100755 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -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');