@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Auth_add_apikey extends CI_Migration { |
4 | 4 | public function __construct() { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Tracker_add_last_checked extends CI_Migration { |
4 | 4 | public function __construct() { |
@@ -27,8 +27,7 @@ |
||
27 | 27 | $this->dbforge->create_table('auth_signup_verification'); |
28 | 28 | } |
29 | 29 | |
30 | - public function down() |
|
31 | - { |
|
30 | + public function down() { |
|
32 | 31 | $this->dbforge->drop_table('auth_signup_verification', TRUE); |
33 | 32 | } |
34 | 33 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Setup_Signup_Verification extends CI_Migration { |
4 | 4 | public function __construct() { |
@@ -1,14 +1,12 @@ discard block |
||
1 | 1 | <?php defined('BASEPATH') OR exit('No direct script access allowed'); |
2 | 2 | |
3 | 3 | class Migration_Install_ion_auth extends CI_Migration { |
4 | - public function __construct() |
|
5 | - { |
|
4 | + public function __construct() { |
|
6 | 5 | parent::__construct(); |
7 | 6 | $this->load->dbforge(); |
8 | 7 | } |
9 | 8 | |
10 | - public function up() |
|
11 | - { |
|
9 | + public function up() { |
|
12 | 10 | /** AUTH_GROUPS **/ |
13 | 11 | // Table structure for table 'auth_groups' |
14 | 12 | $this->dbforge->add_field(array( |
@@ -209,8 +207,7 @@ discard block |
||
209 | 207 | |
210 | 208 | } |
211 | 209 | |
212 | - public function down() |
|
213 | - { |
|
210 | + public function down() { |
|
214 | 211 | $this->dbforge->drop_table('auth_users', TRUE); |
215 | 212 | $this->dbforge->drop_table('auth_groups', TRUE); |
216 | 213 | $this->dbforge->drop_table('auth_users_groups', TRUE); |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Install_ion_auth extends CI_Migration { |
4 | 4 | public function __construct() |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Tracker_Add_Site_Status extends CI_Migration { |
4 | 4 | public function __construct() { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Setup_User_Options extends CI_Migration { |
4 | 4 | public function __construct() { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Tracker_add_tags extends CI_Migration { |
4 | 4 | public function __construct() { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Setup_Tracker extends CI_Migration { |
4 | 4 | public function __construct() { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Migration_Setup_Rate_Limit extends CI_Migration { |
4 | 4 | public function __construct() { |