diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-04-21 03:21:20 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-04-21 03:21:20 +0000 |
commit | 310adfa35923938b97ea416cd21c431d64eaa05a (patch) | |
tree | 245aba68464905bdb5d0072918aa0f5b621290cb /lib/class | |
parent | 67981be0c675d0685bc6e986e6cf5e5fb6cae611 (diff) | |
download | ampache-310adfa35923938b97ea416cd21c431d64eaa05a.tar.gz ampache-310adfa35923938b97ea416cd21c431d64eaa05a.tar.bz2 ampache-310adfa35923938b97ea416cd21c431d64eaa05a.zip |
last commit before beta3 release
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/album.class.php | 2 | ||||
-rw-r--r-- | lib/class/catalog.class.php | 2 | ||||
-rw-r--r-- | lib/class/dba.class.php | 13 |
3 files changed, 14 insertions, 3 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php index 713b8a0a..ae96e61e 100644 --- a/lib/class/album.class.php +++ b/lib/class/album.class.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2008 Ampache.org + Copyright (c) Ampache.org All Rights Reserved This program is free software; you can redistribute it and/or diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 2ec23dea..311697cf 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) Ampache.org All Rights Reserved This program is free software; you can redistribute it and/or diff --git a/lib/class/dba.class.php b/lib/class/dba.class.php index 71e6b6c8..e9d0304d 100644 --- a/lib/class/dba.class.php +++ b/lib/class/dba.class.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2008 Ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -130,6 +130,17 @@ class Dba { } // num_rows /** + * finish + * This closes a result handle and clears the memory assoicated with it + */ + public static function finish($resource) { + + // Clear the result memory + mysql_free_result($resource); + + } // finish + + /** * affected_rows * This emulates the mysql_affected_rows function */ |