Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 710

Přidáno uživatelem Michal Kliment před asi 14 roky(ů)

Opravena mensi chybicka u upgrade_sql (mensi konflikt s transakcemi).

Zobrazit rozdíly:

freenetis/trunk/kohana/application/libraries/MY_Controller.php
public $upgrade_sql = array();
public $current_svn_db_schema_version = 0;
public $popup = 0;
public $dialog = 0;
private $ICON_ERROR = 1;
private $ICON_GOOD = 2;
......
// if true, freenetis will run in popup mode (without header and menu)
$this->popup = (isset($_GET['popup']) && $_GET['popup']) ? 1 : 0;
// if true, freenetis will run in text mod for dialog
$this->dialog = (isset($_GET['dialog']) && $_GET['dialog']) ? 1 : 0;
// database upgrade goes here
$this->get_current_svn_db_schema_info();
......
$query";
$this->error(UPGRADE, $message);
}*/
$this->db->query('COMMIT;');
$config->set_db_schema_version($i);
$this->db->query('COMMIT;');
}
}
// database transaction
......
$query";
$this->error(UPGRADE, $message);
}
$this->db->query('COMMIT;');
$config->set_db_schema_version($this->current_svn_db_schema_version);
$this->db->query('COMMIT;');
}

Také k dispozici: Unified diff