mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
added explanations
This commit is contained in:
+4
-3
@@ -17,11 +17,12 @@ require_once(WWW_DIR."/lib/groups.php");
|
||||
class Functions
|
||||
|
||||
{
|
||||
// database function
|
||||
public function fetchArray($result)
|
||||
{
|
||||
return (is_null($result) ? null : $result->fetch_array());
|
||||
}
|
||||
|
||||
// gets name of category from category.php
|
||||
public function getNameByID($ID)
|
||||
{
|
||||
$db = new DB();
|
||||
@@ -31,7 +32,7 @@ class Functions
|
||||
$cat = array_shift($arr2);
|
||||
return $parent." ".$cat;
|
||||
}
|
||||
|
||||
//deletes from releases
|
||||
public function fastDelete($id, $guid, $site)
|
||||
{
|
||||
$db = new DB();
|
||||
@@ -61,7 +62,7 @@ class Functions
|
||||
|
||||
$ri->delete($guid); // This deletes a file so not in the query
|
||||
}
|
||||
|
||||
//reads name of group
|
||||
public function getByNameByID($id)
|
||||
{
|
||||
$db = new DB();
|
||||
|
||||
Reference in New Issue
Block a user