Skip to content

Commit

Permalink
Merge pull request chriskacerguis#561 from softwarespot/minor-tweaks
Browse files Browse the repository at this point in the history
Minor tweaks
  • Loading branch information
chriskacerguis committed Sep 18, 2015
2 parents b6e3e63 + bc8abe8 commit 186f52e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions application/language/english/rest_controller_lang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/*
* English language
*/
* English language
*/

$lang['text_rest_invalid_api_key'] = 'Invalid API key %s'; // %s is the REST API key
$lang['text_rest_invalid_credentials'] = 'Invalid credentials';
Expand Down
14 changes: 7 additions & 7 deletions application/libraries/REST_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,6 @@ abstract class REST_Controller extends CI_Controller {
*/
protected $_post_args = [];

/**
* The insert_id of the log entry (if we have one)
*
* @var string
*/
protected $_insert_id = '';

/**
* The arguments for the PUT request method
*
Expand Down Expand Up @@ -268,6 +261,13 @@ abstract class REST_Controller extends CI_Controller {
*/
protected $_args = [];

/**
* The insert_id of the log entry (if we have one)
*
* @var string
*/
protected $_insert_id = '';

/**
* If the request is allowed based on the API key provided
*
Expand Down

0 comments on commit 186f52e

Please sign in to comment.