sync & code

a new NameController() needs $Name->constructClasses().
odd this ever did work before (CakePHP 2.2.2 versus 2.2.3 diff?).
pull/63/head
noud 2012-11-20 13:55:53 +01:00
parent 5a35e1a918
commit b00cc0e8b2
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ class ServersController extends AppController {
}
}
$eventsController = new EventsController();
$eventsController->constructClasses();
try {
$result = $eventsController->_add($event, $this->Auth, $fromXml = true, $this->Server->data['Server']['organization']);
} catch (MethodNotAllowedException $e) {