this may conflict
This commit is contained in:
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Zotlabs\Update;
|
namespace Zotlabs\Update;
|
||||||
|
|
||||||
class _1215 {
|
class _1216 {
|
||||||
|
|
||||||
function run() {
|
function run() {
|
||||||
|
|
||||||
$r = q("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' ");
|
$r = dbq("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' ");
|
||||||
|
|
||||||
if($r) {
|
if($r) {
|
||||||
return UPDATE_SUCCESS;
|
return UPDATE_SUCCESS;
|
||||||
|
@@ -431,6 +431,7 @@ function insert_hook($hook, $fn, $version = 0, $priority = 0) {
|
|||||||
*/
|
*/
|
||||||
function call_hooks($name, &$data = null) {
|
function call_hooks($name, &$data = null) {
|
||||||
$a = 0;
|
$a = 0;
|
||||||
|
|
||||||
if((is_array(App::$hooks)) && (array_key_exists($name, App::$hooks))) {
|
if((is_array(App::$hooks)) && (array_key_exists($name, App::$hooks))) {
|
||||||
foreach(App::$hooks[$name] as $hook) {
|
foreach(App::$hooks[$name] as $hook) {
|
||||||
$origfn = $hook[1];
|
$origfn = $hook[1];
|
||||||
|
Reference in New Issue
Block a user