mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-26 19:33:12 +00:00
Merge pull request #1520 from jygaulier/PHRAS-741_back-office-events
#PHRAS-741 #time 10m
This commit is contained in:
@@ -10,19 +10,4 @@ class AclAccessPeriodChanged extends AclRelated
|
|||||||
{
|
{
|
||||||
return $this->args['base_id'];
|
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'];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -160,6 +160,11 @@ class ACL implements cache_cacheableInterface
|
|||||||
$this->app = $app;
|
$this->app = $app;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function get_user()
|
||||||
|
{
|
||||||
|
return $this->user;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the list of available rights for collections
|
* Returns the list of available rights for collections
|
||||||
*
|
*
|
||||||
@@ -1752,10 +1757,7 @@ class ACL implements cache_cacheableInterface
|
|||||||
new AclAccessPeriodChanged(
|
new AclAccessPeriodChanged(
|
||||||
$this,
|
$this,
|
||||||
array(
|
array(
|
||||||
'base_id'=>$base_id,
|
'base_id'=>$base_id
|
||||||
'limit'=>$limit,
|
|
||||||
'limit_from'=>$limit_from,
|
|
||||||
'limit_to'=>$limit_to
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user