]> git.mjollnir.org Git - moodle.git/commitdiff
Sorry managed to commit sql_bitxor twice
authorpoltawski <poltawski>
Sat, 27 Jun 2009 21:26:08 +0000 (21:26 +0000)
committerpoltawski <poltawski>
Sat, 27 Jun 2009 21:26:08 +0000 (21:26 +0000)
lib/dml/sqlite3_pdo_moodle_database.php

index 921267afaf25e480715c799190c24e3b07611570..e3821cc723cfaf82f4bdc103d365dade77642f65 100644 (file)
@@ -368,16 +368,4 @@ class sqlite3_pdo_moodle_database extends pdo_moodle_database {
     public function sql_bitxor($int1, $int2) {
         return '( ~' . $this->sql_bitand($int1, $int2) . ' & ' . $this->sql_bitor($int1, $int2) . ')';
     }
-
-    /**
-     * Returns the SQL text to be used in order to perform one bitwise XOR operation
-     * between 2 integers.
-     *
-     * @param integer int1 first integer in the operation
-     * @param integer int2 second integer in the operation
-     * @return string the piece of SQL code to be used in your statement.
-     */
-    public function sql_bitxor($int1, $int2) {
-        return '( ~' . $this->sql_bitand($int1, $int2) . ' & ' . $this->sql_bitor($int1, $int2) . ')';
-    }
 }