Skip to content

Commit

Permalink
Remove custom LOGS constant replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Oct 13, 2014
1 parent b34cf36 commit 8453a70
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Log/Log.php
Expand Up @@ -273,16 +273,10 @@ public static function config($key, $config = null) {
* If an array is given, the parsed dsn will be merged into this array. Note that querystring
* arguments are also parsed and set as values in the returned configuration.
*
* There is a special replacement value for the string `LOGS`, which is replaced by the LOGS constant.
*
* @param array $config An array with a `url` key mapping to a string dsn
* @return mixed null when adding configuration and an array of configuration data when reading.
*/
public static function parseDsn($config = null) {
if (is_array($config) && isset($config['url'])) {
$config['url'] = str_replace('LOGS', LOGS, $config['url']);
}

$config = static::_parseDsn($config);

if (isset($config['driver'])) {
Expand Down

0 comments on commit 8453a70

Please sign in to comment.