move method and added warning on count function
[lhc/web/wiklou.git] / includes / DBDataObject.php
index 25b653f..3fa5285 100644 (file)
@@ -551,19 +551,6 @@ abstract class DBDataObject {
                $this->readDb = $db;
        }
 
-       /**
-        * Gets if the object can take a certain field.
-        *
-        * @since 1.20
-        *
-        * @param string $name
-        *
-        * @return boolean
-        */
-       public function canHaveField( $name ) {
-               return array_key_exists( $name, $this->table->getFieldTypes() );
-       }
-
        /**
         * Add an amount (can be negative) to the specified field (needs to be numeric).
         *