private static function deprecationWarning() {
        $caller = next(debug_backtrace());
        $msg = 'Deprecated Db-function in function ' . $caller['function'] . ' called from ' . $caller['file'];
        $msg .= ' on line ' . $caller['line'];
        trigger_error($msg, E_USER_NOTICE);
    }