summaryrefslogtreecommitdiffstats
path: root/bps-randomDelete.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-01-24 14:05:32 +0100
committerBjörn Geiger2011-01-24 14:05:32 +0100
commit6fd426c32083cd8758f33c756443432d6646621d (patch)
tree82afb9a24dfad09810bbce764f19d6be67cdcd94 /bps-randomDelete.php
parentLösch Test hinzugefügt (diff)
downloadpbs2-6fd426c32083cd8758f33c756443432d6646621d.tar.gz
pbs2-6fd426c32083cd8758f33c756443432d6646621d.tar.xz
pbs2-6fd426c32083cd8758f33c756443432d6646621d.zip
randomDelete Datei umbenannt
Diffstat (limited to 'bps-randomDelete.php')
-rw-r--r--bps-randomDelete.php51
1 files changed, 0 insertions, 51 deletions
diff --git a/bps-randomDelete.php b/bps-randomDelete.php
deleted file mode 100644
index 5249cb2..0000000
--- a/bps-randomDelete.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-class deleteClass{
- private $link;
-
- public function __construct() {
- $this->link = mysql_connect('localhost', 'root', 'lsfks-openslx');
- if (!$this->link) {
- die('keine Verbindung möglich: ' . mysql_error());
- }
- echo 'Verbindung erfolgreich'."\n";
- mysql_select_db('pbs');
- }
-
- public function __destruct() {
- mysql_close($this->link);
- unset($this->link);
- }
-
- public function deletePerson($i){
-
- }
-
- public function deleteGroup($i){
-
- }
-
- public function deleteRight($i){
-
- }
-
- public function deleteRole($i){
-
- }
-
- public function deleteMemberships(){
-
- }
-
- public function deleteAll(){
- $this->deleteGroup(10);
- $this->deletePerson(20);
- $this->deleteRight(20);
- $this->deleteRole(20);
- $this->delteMemberships();
- }
-}
-
-$u = new deleteClass();
-$u->deleteAll();
-
-