3624166b by Marty Penner

Got rid of cruft code lines in admin user payhistory (artifacts from first implementation)

1 parent 4de1fc4e
...@@ -247,13 +247,6 @@ use WP_User; ...@@ -247,13 +247,6 @@ use WP_User;
247 //} 247 //}
248 $html .= '</p>'; 248 $html .= '</p>';
249 249
250 // Loop through each of the payment items
251 foreach ($invoice->payment as $key => $item) {
252 // Skip any fields that don't start with 'bt_'
253 if (substr($key, 0, 3) != 'bt_') {
254 continue;
255 }
256 }
257 if ($status == 'unpaid') { 250 if ($status == 'unpaid') {
258 // Get the user's profile preference 251 // Get the user's profile preference
259 $preference = strtolower($user->profile_preference); 252 $preference = strtolower($user->profile_preference);
......