airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [05/50] [abbrv] airavata-php-gateway git commit: fixed const access
Date Wed, 27 Jul 2016 17:05:13 GMT
fixed const access


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/dc4b0be1
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/dc4b0be1
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/dc4b0be1

Branch: refs/heads/develop
Commit: dc4b0be1c51438317af21554bda4b83e90d34279
Parents: fb5c7e3
Author: Jeff Kinnison <jeffdkinnison@gmail.com>
Authored: Mon Jul 11 15:30:12 2016 -0400
Committer: Jeff Kinnison <jeffdkinnison@gmail.com>
Committed: Mon Jul 11 15:30:12 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 6 +++---
 app/libraries/ProjectUtilities.php    | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/dc4b0be1/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 8b3c0b8..d365b04 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -1331,11 +1331,11 @@ class ExperimentUtilities
             }
         }
 
-        GrouperUtilities::shareResourceWithUsers($expId, ResourceType::Experiment, $wadd);
-        GrouperUtilities::revokeSharingOfResourceFromUsers($expId, ResourceType::Experiment,
$wrevoke);
+        GrouperUtilities::shareResourceWithUsers($expId, ResourceType::EXPERIMENT, $wadd);
+        GrouperUtilities::revokeSharingOfResourceFromUsers($expId, ResourceType::EXPERIMENT,
$wrevoke);
 
         GrouperUtilities::shareResourceWithUsers($expId, ResourceType::Experiment, $radd);
-        GrouperUtilities::revokeSharingOfResourceFromUsers($expId, ResourceType::Experiment,
$rrevoke);
+        GrouperUtilities::revokeSharingOfResourceFromUsers($expId, ResourceType::EXPERIMENT,
$rrevoke);
     }
 
 

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/dc4b0be1/app/libraries/ProjectUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ProjectUtilities.php b/app/libraries/ProjectUtilities.php
index 0c15b9b..ad015dc 100644
--- a/app/libraries/ProjectUtilities.php
+++ b/app/libraries/ProjectUtilities.php
@@ -294,10 +294,10 @@ class ProjectUtilities
             }
         }
 
-        GrouperUtilities::shareResourceWithUsers($projectId, ResourceType::Project, $wadd);
-        GrouperUtilities::revokeSharingOfResourceFromUsers($projectId, ResourceType::Project,
$wrevoke);
+        GrouperUtilities::shareResourceWithUsers($projectId, ResourceType::PROJECT, $wadd);
+        GrouperUtilities::revokeSharingOfResourceFromUsers($projectId, ResourceType::PROJECT,
$wrevoke);
 
-        GrouperUtilities::shareResourceWithUsers($projectId, ResourceType::Project, $radd);
-        GrouperUtilities::revokeSharingOfResourceFromUsers($projectId, ResourceType::Project,
$rrevoke);
+        GrouperUtilities::shareResourceWithUsers($projectId, ResourceType::PROJECT, $radd);
+        GrouperUtilities::revokeSharingOfResourceFromUsers($projectId, ResourceType::PROJECT,
$rrevoke);
     }
 }


Mime
View raw message