Allow scoped freenode article recovery for one site
This commit is contained in:
parent
353cbb16f0
commit
7544d16660
@ -16,11 +16,13 @@ use App\Services\Ship\ServiceShipHtml;
|
|||||||
|
|
||||||
final class FnSitePublish
|
final class FnSitePublish
|
||||||
{
|
{
|
||||||
public static function fn_b()
|
public static function fn_b(?string $siteCode = null)
|
||||||
{
|
{
|
||||||
echo "\n\nFnSitePublish::fn_b()";
|
echo "\n\nFnSitePublish::fn_b()";
|
||||||
|
|
||||||
$oSites = ModelSiteMap::where("group_code", "fn_b")->get();
|
$query = ModelSiteMap::where("group_code", "fn_b");
|
||||||
|
if ($siteCode !== null) $query->where('code_short', $siteCode);
|
||||||
|
$oSites = $query->get();
|
||||||
|
|
||||||
$oDate = Carbon::now();
|
$oDate = Carbon::now();
|
||||||
$sDateCN = $oDate->format('n月j日');
|
$sDateCN = $oDate->format('n月j日');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user