summaryrefslogtreecommitdiffstats
path: root/includes/concert.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-06-27 13:05:08 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-06-27 23:29:03 +0200
commit224f0149ea513146b164736f461e6cbba4b86add (patch)
treef989ad000bea8109713cec28bc99fdf325f13a97 /includes/concert.php
parent184f1e3f971423fad351de2b2fbde6f436e6d9ce (diff)
downloadgigologadmin-224f0149ea513146b164736f461e6cbba4b86add.tar.gz
gigologadmin-224f0149ea513146b164736f461e6cbba4b86add.tar.bz2
gigologadmin-224f0149ea513146b164736f461e6cbba4b86add.zip
Begin move roles and status field to concerts table.
Diffstat (limited to 'includes/concert.php')
-rw-r--r--includes/concert.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/concert.php b/includes/concert.php
index 6257fab..db8d68a 100644
--- a/includes/concert.php
+++ b/includes/concert.php
@@ -274,6 +274,11 @@ if ( !class_exists('GiglogAdmin_Concert') ) {
{
return $this->roles;
}
+
+ public function assign_role( int $role, string $username ) : void
+ {
+ $this->roles[$role] = $username;
+ }
}
}
?>