Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updating the comments on the rmadmin method for clarity

  • Loading branch information...
commit c2878c014ff39210b5e7a4492a6501887077c48c 1 parent 3c93eb0
@lornajane lornajane authored
Showing with 5 additions and 6 deletions.
  1. +5 −6 src/system/application/libraries/wsactions/event/Rmadmin.php
View
11 src/system/application/libraries/wsactions/event/Rmadmin.php
@@ -1,6 +1,6 @@
<?php
/**
- * Joindin webservice for removing Rid permission?
+ * Joindin webservice for removing an admin from an event
*
* PHP version 5
*
@@ -15,7 +15,7 @@
}
/**
- * Joindin webservice for removing Rid permission?
+ * Joindin webservice for removing an admin from an event
*
* PHP version 5
*
@@ -30,7 +30,7 @@ class Rmadmin extends BaseWsRequest
public $xml = null;
/**
- * Instantiates web service to do whatever it is this does
+ * Instantiates web service to remove the event admin
*
* @param string $xml XML sent to service
*/
@@ -41,7 +41,7 @@ public function __construct($xml)
}
/**
- * Ensures that the caller is a site admin
+ * Ensures that the caller is a site admin or event admin
*
* @param string $xml XML sent to service
*
@@ -101,7 +101,7 @@ public function checkSecurity($xml)
}
/**
- * Does the work for whatever it is that this does.
+ * Removes the user's event admin permissions
*
* @return array
*/
@@ -145,7 +145,6 @@ public function run()
}
}
- // Check to see if they're already an admin
$this->CI->uam->removeRidPerm($user, $eid, $type);
return array(
'output'=>'json',

0 comments on commit c2878c0

Please sign in to comment.
Something went wrong with that request. Please try again.