1
This commit is contained in:
parent
f1564506bc
commit
68481fc610
@ -9,12 +9,14 @@ class FragmentPool extends BaseModel {
|
||||
|
||||
public static function dropHero()
|
||||
{
|
||||
$allocTime = myself()->_getNowDaySeconds() +
|
||||
intval((myself()->_getNowTime() - myself()->_getNowDaySeconds()) / 3600) * 3600;
|
||||
$rows = SqlHelper::ormSelect
|
||||
(myself()->_getMysql($targetId),
|
||||
't_fragment_pool',
|
||||
array(
|
||||
'fragment_type' => 0,
|
||||
'alloc_time' => 0,
|
||||
'alloc_time' => $allocTime,
|
||||
)
|
||||
);
|
||||
if ($rows) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user