mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 18:20:31 -05:00
(Update) Announce Controller 🚀
This commit is contained in:
@@ -375,8 +375,8 @@ class AnnounceController extends Controller
|
||||
$new_update = $peer->updated_at->timestamp;
|
||||
$diff = $new_update - $old_update;
|
||||
$history->seedtime += $diff;
|
||||
$history->save();
|
||||
}
|
||||
$history->save();
|
||||
// End History Update
|
||||
|
||||
// User Update
|
||||
@@ -421,7 +421,6 @@ class AnnounceController extends Controller
|
||||
$new_update = $peer->updated_at->timestamp;
|
||||
$diff = $new_update - $old_update;
|
||||
$history->seedtime += $diff;
|
||||
$history->save();
|
||||
}
|
||||
$history->save();
|
||||
// End History Update
|
||||
@@ -467,7 +466,6 @@ class AnnounceController extends Controller
|
||||
$new_update = $peer->updated_at->timestamp;
|
||||
$diff = $new_update - $old_update;
|
||||
$history->seedtime += $diff;
|
||||
$history->save();
|
||||
}
|
||||
$history->save();
|
||||
// End History Update
|
||||
|
||||
Reference in New Issue
Block a user