streams/Zotlabs/Update/_1216.php

20 lines
295 B
PHP
Raw Normal View History

2018-07-29 00:17:12 +00:00
<?php
namespace Zotlabs\Update;
2021-12-02 23:02:31 +00:00
class _1216
{
2018-07-29 00:17:12 +00:00
2021-12-02 23:02:31 +00:00
public function run()
{
2018-07-29 00:17:12 +00:00
2021-12-02 23:02:31 +00:00
$r = dbq("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' ");
2018-07-29 00:17:12 +00:00
2021-12-02 23:02:31 +00:00
if ($r) {
return UPDATE_SUCCESS;
} else {
return UPDATE_FAILED;
}
}
2018-07-29 00:17:12 +00:00
}