Dev 1.1 Second Pull Request

Please try 
```php
if ($this->username != $username) {
    throw new AppException('Restriction Deletion');
}

$db = DB::conn();
$db->begin();
$db->query();
$db->commit();
```