Skip to content

Commit

Permalink
Modifications et suppressions de lignes de commentaire
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Rodde committed Mar 4, 2014
1 parent 7e00ea1 commit 87f94e5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions class/ServiceBase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ protected function checkFundationIds($user=true,$app=true,$fun_ids=null){
}
} else {
// Verifie qu'on a des droits sur le service
// Devient inutile de faire appel à checkRight car on passe les parmètres pour l'appel depuis getFundations
// $this->checkRight($user, $app, false, null);
$fundations = $this->getFundations($user,$app,false,null);
$fun_ids = array();
foreach($fundations as $fun) {
Expand Down
2 changes: 0 additions & 2 deletions src/Payutc/Service/CATALOG.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class CATALOG extends \ServiceBase {
* @return array $categories
*/
public function getCategories($fun_ids = null) {
//Desormais la logique se fait dans ServiceBase puisque cette logique était écrite dans 2 fois dans 2 services différents
//On passe en paramètres $user, $app, $fun_ids
//Les deux premiers sont pour le checkRight qui sera appelé par getFundations lui même appelé par checkFundationIds si fun_ids est NULL
$fun_ids = $this->checkFundationIds(false,true,$fun_ids);
Expand All @@ -43,7 +42,6 @@ public function getCategory($obj_id, $fun_id = null) {
* @return array $products
*/
public function getProducts($fun_ids = null) {
//Desormais la logique se fait dans ServiceBase puisque cette logique était écrite dans 2 fois dans 2 services différents
//On passe en paramètres $user, $app, $fun_ids
//Les deux premiers sont pour le checkRight qui sera appelé par getFundations lui même appelé par checkFundationIds si fun_ids est NULL
$fun_ids = $this->checkFundationIds(false,true,$fun_ids);
Expand Down
2 changes: 0 additions & 2 deletions src/Payutc/Service/GESARTICLE.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class GESARTICLE extends \ServiceBase {
* @return array $categories
*/
public function getCategories($fun_ids = null) {
//Desormais la logique se fait dans ServiceBase puisque cette logique était écrite dans 2 fois dans 2 services différents
//On passe en paramètres $user, $app, $fun_ids
//Les deux premiers sont pour le checkRight qui sera appelé par getFundations lui même appelé par checkFundationIds si fun_ids est NULL
$fun_ids = $this->checkFundationIds(true,true,$fun_ids);
Expand Down Expand Up @@ -64,7 +63,6 @@ public function deleteCategory($obj_id, $fun_id) {
* @return array $products
*/
public function getProducts($fun_ids = null) {
//Desormais la logique se fait dans ServiceBase puisque cette logique était écrite dans 2 fois dans 2 services différents
//On passe en paramètres $user, $app, $fun_ids
//Les deux premiers sont pour le checkRight qui sera appelé par getFundations lui même appelé par checkFundationIds si fun_ids est NULL
$fun_ids = $this->checkFundationIds(true,true,$fun_ids);
Expand Down

0 comments on commit 87f94e5

Please sign in to comment.