-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreset.php
33 lines (31 loc) · 975 Bytes
/
reset.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
include_once("nodebite-swiss-army-oop.php");
$ds = new DBObjectSaver(array(
"host" => "127.0.0.1",
"dbname" => "wu14oop2",
"username" => "root",
"password" => "mysql",
"prefix" => "characters_trial"
));
// if (isset($_REQUEST["startOver"])) {
unset($ds->player);
unset($ds->cpu1);
unset($ds->cpu2);
unset($ds->challenge);
unset($ds->challenges);
unset($ds->gameEquipments);
unset($ds->teamStrength);
unset($ds->teamAgility);
unset($ds->teamIntelligence);
unset($ds->teamWisdom);
unset($ds->gameEquipments);
unset($ds->playerEquipment);
unset($ds->cpu1Equipment);
unset($ds->cpu2Equipment);
unset($ds->challengeCount);
unset($ds->noMoreEquipments);
unset($ds->current_challenge);
unset($ds->equipmentStatus);
unset($ds->team);
// }
// echo(json_encode(true));