| 
    Stud.IP
    trunk Revision
    
   | 
  
Variables | |
| if(empty($_SESSION['_language'])) | $_language_path = init_i18n($_SESSION['_language']) | 
| $path = $GLOBALS['STUDIP_BASE_PATH'] . '/db/migrations' | |
| $verbose = true | |
| $target = NULL | |
| $lock = new FileLock('web-migrate') | |
| if( $lock->isLocked() &&Request::int( 'release_lock')) if(Request::int('target')) | $version = new DBSchemaVersion('studip') | 
| $migrator = new Migrator($path, $version, $verbose) | |
| if(Request::submitted('start')) | $current = $version->get() | 
| $migrations = $migrator->relevantMigrations($target) | |
| $widget = Sidebar::get()->addWidget(new SidebarWidget()) | |
| $template = $template_factory->open('web_migrate') | |
| $template | current_page = _('Datenbank-Migration') | 
| $template | target = $target | 
| $template | migrations = $migrations | 
| $template | lock = $lock | 
| if (Request::submitted( 'start')) $current = $version->get() | 
| $migrations = $migrator->relevantMigrations($target) | 
| $migrator = new Migrator($path, $version, $verbose) | 
| $path = $GLOBALS['STUDIP_BASE_PATH'] . '/db/migrations' | 
| $target = NULL | 
| $template = $template_factory->open('web_migrate') | 
| $verbose = true | 
| if($lock->isLocked() &&Request::int('release_lock')) if (Request::int( 'target')) $version = new DBSchemaVersion('studip') | 
| $widget = Sidebar::get()->addWidget(new SidebarWidget()) | 
| $template current_page = _('Datenbank-Migration') | 
| $template lock = $lock | 
| $template migrations = $migrations | 
| $template target = $target |