Merge pull request #1520 from jygaulier/PHRAS-741_back-office-events

#PHRAS-741 #time 10m
This commit is contained in:
jygaulier
2015-10-01 19:34:06 +02:00
2 changed files with 6 additions and 19 deletions

View File

@@ -10,19 +10,4 @@ class AclAccessPeriodChanged extends AclRelated
{
return $this->args['base_id'];
}
public function getLimit()
{
return $this->args['limit'];
}
public function getLimitFrom()
{
return $this->args['limit_from'];
}
public function getLimitTo()
{
return $this->args['limit_to'];
}
}

View File

@@ -160,6 +160,11 @@ class ACL implements cache_cacheableInterface
$this->app = $app;
}
public function get_user()
{
return $this->user;
}
/**
* Returns the list of available rights for collections
*
@@ -1752,10 +1757,7 @@ class ACL implements cache_cacheableInterface
new AclAccessPeriodChanged(
$this,
array(
'base_id'=>$base_id,
'limit'=>$limit,
'limit_from'=>$limit_from,
'limit_to'=>$limit_to
'base_id'=>$base_id
)
)
);