| 1 | <?php  | 
            ||
| 15 | class set_role_data extends migration  | 
            ||
| 16 | { | 
            ||
| 17 | static public function depends_on()  | 
            ||
| 23 | |||
| 24 | public function update_data()  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * Checks whether the given role does exist or not.  | 
            ||
| 38 | *  | 
            ||
| 39 | * @param String $role the name of the role  | 
            ||
| 40 | * @return true if the role exists, false otherwise.  | 
            ||
| 41 | */  | 
            ||
| 42 | protected function role_exists($role)  | 
            ||
| 52 | }  | 
            ||
| 53 |