diff --git a/classes/task/archive_user_task.php b/classes/task/archive_user_task.php index 8180c48..ba7c986 100644 --- a/classes/task/archive_user_task.php +++ b/classes/task/archive_user_task.php @@ -83,7 +83,7 @@ public function execute() { $result = $this->change_user_deprovisionstatus($reactivatearray, 'reactivate'); $unabletoactivate = $result['failures']; - $useractivated = $suspendresult['countersuccess']; + $useractivated = $result['countersuccess']; $deleteresult = $this->change_user_deprovisionstatus($arraytodelete, 'delete'); $unabletodelete = $deleteresult['failures'];