BookStack/app/Exceptions/UserUpdateException.php
Dan Brown 2317bf2350
Added check for last admin on role change
Will show error message if last admin and admin role is removed.
Closes #1124
Also cleaned up user controller a little.
2018-12-30 16:11:58 +00:00

4 lines
92 B
PHP

<?php namespace BookStack\Exceptions;
class UserUpdateException extends NotifyException {}