public static function profileUpdateAction($userID, $newDat = false) { if (!$newDat) { return; } if (wfConfig::get('other_pwStrengthOnUpdate')) { $oldDat = get_userdata($userID); if ($newDat->user_pass != $oldDat->user_pass) { $wf = new wfScanEngine(); $wf->scanUserPassword($userID); $wf->emailNewIssues(); } } }