]> git.mxchange.org Git - friendica.git/blobdiff - include/dba.php
Merge pull request #2666 from annando/1607-more-logging
[friendica.git] / include / dba.php
index 3a16c187c7ec81b47085d894d169c047e18b7cd6..3484ac668380478a0fbd9bb141631d6395d7e393 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+require_once("dbm.php");
 
 # if PDO is avaible for mysql, use the new database abstraction
 # TODO: PDO is disabled for release 3.3. We need to investigate why
@@ -230,16 +231,6 @@ class dba {
                }
        }
 
-       /**
-        * Checks if $array is a filled array with at least one entry.
-        *
-        * @param       $array  mixed   A filled array with at least one entry
-        * @return      Whether $array is a filled array
-        */
-       public function is_result ($array) {
-               return (is_array($array) && count($array) > 0);
-       }
-
        function __destruct() {
                if ($this->db)
                        if($this->mysqli)