]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/database/class_BaseDatabaseFrontend.php
A lot more old methods deprecated and already deprecated methods removed
[shipsimu.git] / inc / classes / main / database / class_BaseDatabaseFrontend.php
index 2d2e04bdcf87a4ab38c9844f3483f59304f1ce27..56041e6373b59c98684b7857f5ca46588b981a3e 100644 (file)
@@ -22,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implements DatabaseFrontendInterface, LimitableObject {
+abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implements DatabaseFrontendInterface {
        // Constants for exceptions
        const EXCEPTION_SQL_QUERY = 0x050;
 
@@ -43,34 +43,6 @@ abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implements Datab
                // Clean up a little
                $this->removeNumberFormaters();
        }
-
-       /**
-        * Getter for limitation instance
-        *
-        * @return      $limitInstance          The instance to the object ObjectLimits
-        */
-       public final function getLimitInstance () {
-               return $this->limitInstance;
-       }
-
-       /**
-        * Setup limitation for the saving process
-        *
-        * @param               $limitInstance  An instance of ObjectLimits which contains
-        *                                              elements we shall exclusivly include in
-        *                                              saving process
-        * @return      void
-        */
-       public final function limitObject (ObjectLimits $limitInstance) {
-               // Get limitArray for validation
-               $array = $limitInstance->getLimitArray();
-
-               // Sanity-check if some limitations are in the object
-               if ($array->count() > 0) {
-                       // Okay, there is enougth
-                       $this->limitInstance = $limitInstance;
-               }
-       }
 }
 
 // [EOF]