added cron job manager for service jobs and scheduler jobs

This commit is contained in:
Taras Machyshyn
2014-02-06 10:36:57 +02:00
parent fa888b015d
commit 36d9892b11
21 changed files with 938 additions and 66 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class Auth extends \Slim\Middleware
if (!empty($routes[0])) {
$routeConditions = $routes[0]->getConditions();
if (isset($routeConditions['auth']) && $routeConditions['auth'] === false) {
//$this->container->setUser(new \Espo\Entities\User());
$this->container->setUser($this->entityManager->getRepository('User'));
$this->next->call();
return;
}