Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI3.2 #513

Merged
merged 2 commits into from
Feb 17, 2024
Merged

CI3.2 #513

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions application/core/MY_Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class MY_Model extends CI_Model {
*/
public function __construct()
{
parent::__construct();

set_error_handler(function($errno, $errstr, $errfile, $errline) {
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class Blacklist_number_model extends CI_Model {

function __construct()
{
parent::__construct();
$this->load->helper('kalkun');
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class Server_alert_model extends CI_Model {

function __construct()
{
parent::__construct();
$this->load->helper('kalkun');
}

Expand Down
12 changes: 0 additions & 12 deletions application/plugins/sms_credit/models/Sms_credit_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@

class Sms_credit_model extends CI_Model {

/**
* Constructor
*
* @access public
*/
function __construct()
{
parent::__construct();
}

// --------------------------------------------------------------------

/**
* Get Users
*
Expand Down
12 changes: 0 additions & 12 deletions application/plugins/sms_member/models/Sms_member_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@
*/
class Sms_member_model extends CI_Model {

/**
* Constructor
*
* @access public
*/
function __construct()
{
parent::__construct();
}

// --------------------------------------------------------------------

/**
* Get Member
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@
* @category Models
*/
class Sms_to_email_model extends CI_Model {

function __construct()
{
parent::__construct();
}


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the output of the job of continuous integration that checks code style there is a problem with this line. Could you please apply the suggested change in the log? Probably a superfluous space or tab, otherwise incorrect line ending?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

function get_setting($uid)
{
$this->db->from('plugin_sms_to_email');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
*/
class Sms_to_twitter_model extends CI_Model {

function __construct()
{
parent::__construct();
}

function check_token($uid)
{
$exist = FALSE;
Expand Down
5 changes: 0 additions & 5 deletions application/plugins/sms_to_xmpp/models/Sms_to_xmpp_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
*/
class Sms_to_xmpp_model extends CI_Model {

function __construct()
{
parent::__construct();
}

function check_status($uid)
{
$exist = FALSE;
Expand Down
1 change: 0 additions & 1 deletion application/plugins/soap/models/Api_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

function Plugin_model()
{
parent::__construct();
$this->load->library('Remote_Messages');
}

Expand Down
5 changes: 0 additions & 5 deletions application/plugins/soap/models/Soap_model.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?php
Class Soap_model extends CI_Model {

function __construct()
{
parent::__construct();
}

function getRemoteAccess($option = NULL, $limit = NULL, $offset = NULL)
{
switch ($option)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@

class Stop_manager_model extends CI_Model {

function __construct()
{
parent::__construct();
}

function get($option = NULL, $limit = NULL, $offset = NULL)
{
switch ($option)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
*/
class Whitelist_number_model extends CI_Model {

function __construct()
{
parent::__construct();
}

function get($option = NULL, $limit = NULL, $offset = NULL)
{
switch ($option)
Expand Down
Loading