Skip to content

Commit

Permalink
moved constant PARAM_API_KEY to it's proper place
Browse files Browse the repository at this point in the history
  • Loading branch information
nocive committed Mar 15, 2012
1 parent a7df3af commit 0926bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/API/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*/
class Freesound_API_Base extends Freesound_Base
{
const PARAM_API_KEY = 'api_key';

public function __construct( $apiKey = null, $config = null )
{
$this->_config = $config !== null ? $config : new Freesound_Config();
Expand Down
2 changes: 0 additions & 2 deletions lib/Base/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class Freesound_Base
const CFG_FETCH_TIMEOUT = 'fetch_timeout';
const CFG_FETCH_USER_AGENT = 'fetch_user_agent';
const CFG_JSON_DECODE_ASSOC = 'json_decode_assoc';

const PARAM_API_KEY = 'api_key';
}

?>

0 comments on commit 0926bb6

Please sign in to comment.