1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php namespace Zotlabs\Update; class _1102 { function run() { $r = q("update abook set abook_flags = (abook_flags - %d) where ( abook_flags & %d)", intval(ABOOK_FLAG_UNCONNECTED), intval(ABOOK_FLAG_UNCONNECTED) ); return UPDATE_SUCCESS; } }