Phase 5 complete: - Domain\SeoAdditional\SeoAdditionalRepository (elementDelete, elementSave, elementDetails) - Domain\Cron\CronRepository (3 pub + 12 private helper methods) - Domain\Releases\ReleasesRepository (9 metod: wersje, licencje, discover) - Domain\Releases\UpdateRepository (auto-update, konstruktor($db, $settings)) - 4 legacy factory wrappers zaktualizowane do wrapper delegation Domain layer: 13/13 repozytoriów kompletnych. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
515 B
PHP
25 lines
515 B
PHP
<?php
|
|
class Cron
|
|
{
|
|
public static function automatic_update_sites()
|
|
{
|
|
global $mdb;
|
|
$repo = new \Domain\Cron\CronRepository($mdb);
|
|
return $repo->automaticUpdateSites();
|
|
}
|
|
|
|
public static function get_site_main_links()
|
|
{
|
|
global $mdb;
|
|
$repo = new \Domain\Cron\CronRepository($mdb);
|
|
return $repo->getSiteMainLinks();
|
|
}
|
|
|
|
public static function get_site_other_links()
|
|
{
|
|
global $mdb;
|
|
$repo = new \Domain\Cron\CronRepository($mdb);
|
|
return $repo->getSiteOtherLinks();
|
|
}
|
|
}
|