streams/Code/Update/_1216.php

20 lines
292 B
PHP
Raw Normal View History

2018-07-29 00:17:12 +00:00
<?php
2022-02-16 04:08:28 +00:00
namespace Code\Update;
2018-07-29 00:17:12 +00:00
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
}