| @@ 245-265 (lines=21) @@ | ||
| 242 | } |
|
| 243 | } |
|
| 244 | ||
| 245 | public function _deinstall() { |
|
| 246 | $ci = &get_instance(); |
|
| 247 | ||
| 248 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 249 | ->update( |
|
| 250 | 'shop_payment_methods', |
|
| 251 | [ |
|
| 252 | 'active' => '0', |
|
| 253 | 'payment_system_name' => '0', |
|
| 254 | ] |
|
| 255 | ); |
|
| 256 | if ($ci->db->_error_message()) { |
|
| 257 | show_error($ci->db->_error_message()); |
|
| 258 | } |
|
| 259 | ||
| 260 | $result = $ci->db->like('name', $this->moduleName) |
|
| 261 | ->delete('shop_settings'); |
|
| 262 | if ($ci->db->_error_message()) { |
|
| 263 | show_error($ci->db->_error_message()); |
|
| 264 | } |
|
| 265 | } |
|
| 266 | ||
| 267 | } |
|
| 268 | ||
| @@ 254-274 (lines=21) @@ | ||
| 251 | } |
|
| 252 | } |
|
| 253 | ||
| 254 | public function _deinstall() { |
|
| 255 | $ci = &get_instance(); |
|
| 256 | ||
| 257 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 258 | ->update( |
|
| 259 | 'shop_payment_methods', |
|
| 260 | [ |
|
| 261 | 'active' => '0', |
|
| 262 | 'payment_system_name' => '0', |
|
| 263 | ] |
|
| 264 | ); |
|
| 265 | if ($ci->db->_error_message()) { |
|
| 266 | show_error($ci->db->_error_message()); |
|
| 267 | } |
|
| 268 | ||
| 269 | $result = $ci->db->like('name', $this->moduleName) |
|
| 270 | ->delete('shop_settings'); |
|
| 271 | if ($ci->db->_error_message()) { |
|
| 272 | show_error($ci->db->_error_message()); |
|
| 273 | } |
|
| 274 | } |
|
| 275 | ||
| 276 | } |
|
| 277 | ||
| @@ 259-279 (lines=21) @@ | ||
| 256 | } |
|
| 257 | } |
|
| 258 | ||
| 259 | public function _deinstall() { |
|
| 260 | $ci = &get_instance(); |
|
| 261 | ||
| 262 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 263 | ->update( |
|
| 264 | 'shop_payment_methods', |
|
| 265 | [ |
|
| 266 | 'active' => '0', |
|
| 267 | 'payment_system_name' => '0', |
|
| 268 | ] |
|
| 269 | ); |
|
| 270 | if ($ci->db->_error_message()) { |
|
| 271 | show_error($ci->db->_error_message()); |
|
| 272 | } |
|
| 273 | ||
| 274 | $result = $ci->db->like('name', $this->moduleName) |
|
| 275 | ->delete('shop_settings'); |
|
| 276 | if ($ci->db->_error_message()) { |
|
| 277 | show_error($ci->db->_error_message()); |
|
| 278 | } |
|
| 279 | } |
|
| 280 | ||
| 281 | } |
|
| 282 | ||
| @@ 414-434 (lines=21) @@ | ||
| 411 | } |
|
| 412 | } |
|
| 413 | ||
| 414 | public function _deinstall() { |
|
| 415 | $ci = &get_instance(); |
|
| 416 | ||
| 417 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 418 | ->update( |
|
| 419 | 'shop_payment_methods', |
|
| 420 | [ |
|
| 421 | 'active' => '0', |
|
| 422 | 'payment_system_name' => '0', |
|
| 423 | ] |
|
| 424 | ); |
|
| 425 | if ($ci->db->_error_message()) { |
|
| 426 | show_error($ci->db->_error_message()); |
|
| 427 | } |
|
| 428 | ||
| 429 | $result = $ci->db->like('name', $this->moduleName) |
|
| 430 | ->delete('shop_settings'); |
|
| 431 | if ($ci->db->_error_message()) { |
|
| 432 | show_error($ci->db->_error_message()); |
|
| 433 | } |
|
| 434 | } |
|
| 435 | ||
| 436 | } |
|
| 437 | ||
| @@ 252-272 (lines=21) @@ | ||
| 249 | } |
|
| 250 | } |
|
| 251 | ||
| 252 | public function _deinstall() { |
|
| 253 | $ci = &get_instance(); |
|
| 254 | ||
| 255 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 256 | ->update( |
|
| 257 | 'shop_payment_methods', |
|
| 258 | [ |
|
| 259 | 'active' => '0', |
|
| 260 | 'payment_system_name' => '0', |
|
| 261 | ] |
|
| 262 | ); |
|
| 263 | if ($ci->db->_error_message()) { |
|
| 264 | show_error($ci->db->_error_message()); |
|
| 265 | } |
|
| 266 | ||
| 267 | $result = $ci->db->like('name', $this->moduleName) |
|
| 268 | ->delete('shop_settings'); |
|
| 269 | if ($ci->db->_error_message()) { |
|
| 270 | show_error($ci->db->_error_message()); |
|
| 271 | } |
|
| 272 | } |
|
| 273 | ||
| 274 | } |
|
| 275 | ||
| @@ 343-363 (lines=21) @@ | ||
| 340 | } |
|
| 341 | } |
|
| 342 | ||
| 343 | public function _deinstall() { |
|
| 344 | $ci = &get_instance(); |
|
| 345 | ||
| 346 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 347 | ->update( |
|
| 348 | 'shop_payment_methods', |
|
| 349 | [ |
|
| 350 | 'active' => '0', |
|
| 351 | 'payment_system_name' => '0', |
|
| 352 | ] |
|
| 353 | ); |
|
| 354 | if ($ci->db->_error_message()) { |
|
| 355 | show_error($ci->db->_error_message()); |
|
| 356 | } |
|
| 357 | ||
| 358 | $result = $ci->db->like('name', $this->moduleName) |
|
| 359 | ->delete('shop_settings'); |
|
| 360 | if ($ci->db->_error_message()) { |
|
| 361 | show_error($ci->db->_error_message()); |
|
| 362 | } |
|
| 363 | } |
|
| 364 | ||
| 365 | } |
|
| 366 | ||
| @@ 301-321 (lines=21) @@ | ||
| 298 | } |
|
| 299 | } |
|
| 300 | ||
| 301 | public function _deinstall() { |
|
| 302 | $ci = &get_instance(); |
|
| 303 | ||
| 304 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 305 | ->update( |
|
| 306 | 'shop_payment_methods', |
|
| 307 | [ |
|
| 308 | 'active' => '0', |
|
| 309 | 'payment_system_name' => '0', |
|
| 310 | ] |
|
| 311 | ); |
|
| 312 | if ($ci->db->_error_message()) { |
|
| 313 | show_error($ci->db->_error_message()); |
|
| 314 | } |
|
| 315 | ||
| 316 | $result = $ci->db->like('name', $this->moduleName) |
|
| 317 | ->delete('shop_settings'); |
|
| 318 | if ($ci->db->_error_message()) { |
|
| 319 | show_error($ci->db->_error_message()); |
|
| 320 | } |
|
| 321 | } |
|
| 322 | ||
| 323 | } |
|
| 324 | ||
| @@ 252-272 (lines=21) @@ | ||
| 249 | } |
|
| 250 | } |
|
| 251 | ||
| 252 | public function _deinstall() { |
|
| 253 | $ci = &get_instance(); |
|
| 254 | ||
| 255 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 256 | ->update( |
|
| 257 | 'shop_payment_methods', |
|
| 258 | [ |
|
| 259 | 'active' => '0', |
|
| 260 | 'payment_system_name' => '0', |
|
| 261 | ] |
|
| 262 | ); |
|
| 263 | if ($ci->db->_error_message()) { |
|
| 264 | show_error($ci->db->_error_message()); |
|
| 265 | } |
|
| 266 | ||
| 267 | $result = $ci->db->like('name', $this->moduleName) |
|
| 268 | ->delete('shop_settings'); |
|
| 269 | if ($ci->db->_error_message()) { |
|
| 270 | show_error($ci->db->_error_message()); |
|
| 271 | } |
|
| 272 | } |
|
| 273 | ||
| 274 | } |
|
| 275 | ||
| @@ 304-324 (lines=21) @@ | ||
| 301 | } |
|
| 302 | } |
|
| 303 | ||
| 304 | public function _deinstall() { |
|
| 305 | $ci = &get_instance(); |
|
| 306 | ||
| 307 | $result = $ci->db->where('payment_system_name', $this->moduleName) |
|
| 308 | ->update( |
|
| 309 | 'shop_payment_methods', |
|
| 310 | [ |
|
| 311 | 'active' => '0', |
|
| 312 | 'payment_system_name' => '0', |
|
| 313 | ] |
|
| 314 | ); |
|
| 315 | if ($ci->db->_error_message()) { |
|
| 316 | show_error($ci->db->_error_message()); |
|
| 317 | } |
|
| 318 | ||
| 319 | $result = $ci->db->like('name', $this->moduleName) |
|
| 320 | ->delete('shop_settings'); |
|
| 321 | if ($ci->db->_error_message()) { |
|
| 322 | show_error($ci->db->_error_message()); |
|
| 323 | } |
|
| 324 | } |
|
| 325 | ||
| 326 | } |
|
| 327 | ||