Added interface AddableCriteria
[core.git] / inc / classes / interfaces / points / class_BookablePoints.php
index b67f2769dc379880b1d680a9b57092ffca6f7528..a1de221537e5f47d2b641a2cff6dff5fe3dbce41 100644 (file)
@@ -21,7 +21,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/>.
  */
-interface BookablePoints extends FrameworkInterface {
+interface BookablePoints extends AddableCriteria {
        /**
         * Checks whether the user has the required amount of points left for the specified action
         *
@@ -37,14 +37,6 @@ interface BookablePoints extends FrameworkInterface {
         * @return      void
         */
        function bookPointsDirectly ($amount);
-
-       /**
-        * Adds registration elements to a given dataset instance
-        *
-        * @param       $criteriaInstance       An instance of a storeable criteria
-        * @return      void
-        */
-       function addElementsToDataSet (StoreableCriteria $criteriaInstance);
 }
 
 // [EOF]