source: trunk/install/clean.php

Last change on this file was 37, checked in by george, 16 years ago
  • Upraveno: Aktualizace inicializační databáze.
File size: 315 bytes
Line 
1<?php
2
3function CleanDatabase()
4{
5 global $Database;
6 $Database->query('DELETE FROM SystemListItem WHERE `List` NOT IN (SELECT `Id` FROM `SystemList`)');
7 $Database->query('DELETE FROM Permission WHERE `PermissionGroup` NOT IN (SELECT `Id` FROM `SystemPermissionGroup`)');
8
9}
10
11function LoadInitData()
12{
13
14}
15
16?>
Note: See TracBrowser for help on using the repository browser.