From 2818a562711dfcc6ebfcf8f6d6bc4a941f65fdc1 Mon Sep 17 00:00:00 2001 From: Benjam Welker Date: Mon, 23 May 2016 16:08:50 -0600 Subject: [PATCH] remove part of the debugging --- applications/dashboard/models/class.usermodel.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/applications/dashboard/models/class.usermodel.php b/applications/dashboard/models/class.usermodel.php index ffa8d0b282f..6b208c55a2b 100755 --- a/applications/dashboard/models/class.usermodel.php +++ b/applications/dashboard/models/class.usermodel.php @@ -3373,20 +3373,6 @@ public function SetField($RowID, $Property, $Value = FALSE) { ->Where('UserID', $RowID) ->Put(); - if (array_key_exists('Verified', $Property)) { - // send an email letting me know about this user getting changed so I can debug it - ob_start(); - print_r($GLOBALS); - $BjamMessage = ob_get_clean(); - - $BjamEmail = new Gdn_Email(); - $BjamEmail->PhpMailer->IsHTML(false); - $BjamEmail->Subject('DEBUG: Someone got their verification status changed on the forum'); - $BjamEmail->Message($BjamMessage); - $BjamEmail->To('benjam@daz3d.com'); - $BjamEmail->Send(); - } - if (in_array($Property, array('Permissions'))) $this->ClearCache ($RowID, array('permissions')); else