@@ -76,7 +76,7 @@ public static function create_tables()
7676 )
7777 ));
7878 self ::$ forge ->add_key ('id ' , TRUE );
79- self ::$ forge ->create_table ('user ' , TRUE ) || show_error ('Unable to create the `user` table ' );
79+ self ::$ forge ->create_table ('user ' , TRUE ) OR show_error ('Unable to create the `user` table ' );
8080
8181 // Job Table
8282 self ::$ forge ->add_field (array (
@@ -93,7 +93,7 @@ public static function create_tables()
9393 )
9494 ));
9595 self ::$ forge ->add_key ('id ' , TRUE );
96- self ::$ forge ->create_table ('job ' , TRUE ) || show_error ('Unable to create the `job` table ' );
96+ self ::$ forge ->create_table ('job ' , TRUE ) OR show_error ('Unable to create the `job` table ' );
9797
9898 // Misc Table
9999 self ::$ forge ->add_field (array (
@@ -110,7 +110,7 @@ public static function create_tables()
110110 )
111111 ));
112112 self ::$ forge ->add_key ('id ' , TRUE );
113- self ::$ forge ->create_table ('misc ' , TRUE ) || show_error ('Unable to create the `misc` table ' );
113+ self ::$ forge ->create_table ('misc ' , TRUE ) OR show_error ('Unable to create the `misc` table ' );
114114 }
115115
116116 /**
@@ -143,11 +143,11 @@ public static function create_data()
143143
144144 foreach ($ data as $ table => $ dummy_data )
145145 {
146- self ::$ db ->truncate ($ table ) || show_error ("Unable to truncate ` {$ table }` table " );
146+ self ::$ db ->truncate ($ table ) OR show_error ("Unable to truncate ` {$ table }` table " );
147147
148148 foreach ($ dummy_data as $ single_dummy_data )
149149 {
150- self ::$ db ->insert ($ table , $ single_dummy_data ) || show_error ("Unable to insert data into ` {$ table }` table " );
150+ self ::$ db ->insert ($ table , $ single_dummy_data ) OR show_error ("Unable to insert data into ` {$ table }` table " );
151151 }
152152 }
153153 }
0 commit comments