MMCT TEAM
Server IP : 192.185.129.71  /  Your IP : 18.118.155.106
Web Server : Apache
System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : svymadmin ( 4072)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/application/migrations/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/application/migrations/270_version_270.php
<?php

defined('BASEPATH') or exit('No direct script access allowed');

class Migration_Version_270 extends CI_Migration
{
    public function __construct()
    {
        parent::__construct();
    }

    public function up()
    {
        add_option('tasks_reminder_notification_hour', '21');
        add_option('allow_primary_contact_to_manage_other_contacts', '0');

        if (!$this->db->field_exists('google_auth_secret', 'staff')) {
            $this->db->query('ALTER TABLE `' . db_prefix() . 'staff` ADD `google_auth_secret` TEXT NULL;');
        }

        $this->db->where('folder', 'inbox');
        $this->db->update('leads_email_integration', ['folder' => 'INBOX']);

        @rename(APPPATH . 'libraries/gateways/Authorize_aim_gateway.php', APPPATH . 'libraries/gateways/Authorize_aim_gateway.php.old');
        @rename(APPPATH . 'libraries/gateways/Authorize_sim_gateway.php', APPPATH . 'libraries/gateways/Authorize_sim_gateway.php.old');
        @rename(APPPATH . 'libraries/gateways/Two_checkout_gateway.php', APPPATH . 'libraries/gateways/Two_checkout_gateway.php.old');
    }
}

MMCT - 2023