Browse Source

Removed static

tags/v1.3^2
Teknikode 6 years ago
parent
commit
bb65ad2b26
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      includes/classes/UserTools.class.php

+ 2
- 2
includes/classes/UserTools.class.php View File

@@ -183,7 +183,7 @@ class UserTools {
}
// delete array of roles, and all associations
public static function deleteRoles($roles)
public function deleteRoles($roles)
{
foreach ($roles as $role_id)
{
@@ -193,7 +193,7 @@ class UserTools {
}
// delete specified or ALL roles for specified user id
public static function deleteUserRoles($user_id, $roles=null)
public function deleteUserRoles($user_id, $roles=null)
{
if ($roles != null)
{

Loading…
Cancel
Save