Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9833e4db
authored
2011-02-26 03:45:15 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated user manager to track the role change
1 parent
a123fb2f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
com/UserManager/UserManager.php
com/UserManager/UserManager.php
View file @
9833e4d
...
...
@@ -407,12 +407,15 @@ class AccountValidation extends Common\Validation {
}
public
function
user_role
(
$val
)
{
/*
$user = new User\Account($_POST['uid']);
try {
$user->set_role($val);
} catch (Exception $e) {
throw new Exception($e->getMessage());
}
*/
CBV\user_change_role
(
$val
,
$_POST
[
'uid'
]);
}
public
function
password1
(
$val
)
{
...
...
Please
register
or
sign in
to post a comment