Commit 55da9053 authored by bpssoft's avatar bpssoft

- Add comments to system.inc.php (PEAR) and cleanup wrong tabs

- Add some functionallity to MySQL class
parent 3eeed9bd
......@@ -73,6 +73,3 @@ General tasks
- Add, extend or modify comments in PEAR syntax so that they can be read with phpdocumentor.
- Add a function to prevent brute force password attacks to the login script. E.g. by
logging all login attempts and allowing only 5 logins every 15 minutes.
Task assigned to: BPSsoft
......@@ -217,10 +217,21 @@ class db
public function closeConn()
{
if($this->linkId)
{
mysql_close($this->linkId);
return true;
} else { return false; }
}
public function freeResult()
public function freeResult($query)
{
if(mysql_free_result($query))
{
return true;
} else {
return false;
}
}
public function delete()
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment