A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / libs / autopurge_functions.php
index 7dc6255aa7b2ec2a0ddd5af53379a8b0709c0e6b..7ce6fd555f5f4bc8a58becfa0a6dcea022ae72f7 100644 (file)
@@ -69,9 +69,9 @@ function AUTOPURGE_ADD_POINTS($uid, $points) {
                        array($target, $target, $points, bigintval($uid)), __FUNCTION__, __LINE__);
 
                // Update mediadata as well
-               if ((GET_EXT_VERSION("mediadata") >= "0.0.4") && ($target == "points")) {
+               if ((GET_EXT_VERSION('mediadata') >= '0.0.4') && ($target == "points")) {
                        // Update database
-                       MEDIA_UPDATE_ENTRY(array("total_points"), "add", $points);
+                       MEDIA_UPDATE_ENTRY(array('total_points'), 'add', $points);
                }
 
                // Send out mail to user