Skip to content

Commit bef5170

Browse files
committed
More cleanup
1 parent e7e7563 commit bef5170

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/controllers/admin/LicensesController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ public function postEdit($licenseId = null)
223223
{
224224
for ($i=1; $i <= abs($difference); $i++) {
225225
//Delete the appropriate number of seats
226-
$license->licenseseats->pop()->delete();
227-
echo '<li>'.$i;
226+
$seats->pop()->delete();
228227
}
229228

230229
//Log the deletion of seats to the log

0 commit comments

Comments
 (0)