Skip to content

Commit

Permalink
remove exception handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Bushulyak committed Aug 19, 2016
1 parent c45c554 commit 09f7141
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
6 changes: 1 addition & 5 deletions PhpRbac/src/PhpRbac/Rbac.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ public function __construct($config = '')
$user = isset($config['user']) ? $config['user'] : "root";
$pass = isset($config['pass']) ? $config['pass'] : "";
$tablePrefix = isset($config['prefix']) ? $config['prefix'] : "phprbac_";
$dbname = isset($config['db_name']) ? $config['db_name'] : false;

if(!$dbname){
throw new ConfigurationException("db_name",$config['db_name']);
}
$dbname = isset($config['db_name']) ? $config['db_name'] : false;
}

require_once 'core/lib/Jf.php';
Expand Down
25 changes: 0 additions & 25 deletions PhpRbac/src/PhpRbac/exceptions/ConfigurationException.php

This file was deleted.

0 comments on commit 09f7141

Please sign in to comment.