Location: PHPKode > projects > PhpBlock > A9.8/script/tick/hacktick.class.php
<?php
include_once $PATH_TO_CODE."/script/tick/allincludefortick.php";
include_once $PATH_TO_CODE."/script/tick/hacktick.class.php";

class HackTick extends TickRunnable {
	public function getName() {
		return "Hack";
	}
	public function run() {
		//FIXME remove this hack ...
		executer("update zone set `occupedWithMovable`=0 WHERE `occupedWithMovable`=1 AND NOT EXISTS(SELECT object.* FROM object where object.zoneId=`zone`.zoneId)");
	}
}
?>
Return current item: PhpBlock