Fixed #424
This commit is contained in:
parent
6fec239937
commit
eef031c89f
|
@ -51,6 +51,7 @@ function addUser($args)
|
|||
$tmp['username'] = $args['new_username'];
|
||||
$tmp['password'] = $args['new_password'];
|
||||
$tmp['role'] = $args['role'];
|
||||
$tmp['email'] = $args['email'];
|
||||
|
||||
// Add the user to the database
|
||||
if( $dbUsers->add($tmp) )
|
||||
|
|
|
@ -19,7 +19,7 @@ function addPage($args)
|
|||
if($key)
|
||||
{
|
||||
// Re index categories
|
||||
reIndexCategoriesPages();
|
||||
//reIndexCategoriesPages();
|
||||
|
||||
// Call the plugins after page created.
|
||||
Theme::plugins('afterPageCreate');
|
||||
|
|
Loading…
Reference in New Issue