Skip to content

Commit

Permalink
fix ask RS button
Browse files Browse the repository at this point in the history
  • Loading branch information
temaotl committed Aug 7, 2024
1 parent cfeff29 commit 8ab4cce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions app/Console/Commands/ValidateMetaConsole.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Console\Commands;

use App\Facades\RsTag;
use App\Models\Entity;
use App\Models\Federation;
use App\Traits\DumpFromGit\EntitiesHelp\FixEntityTrait;
Expand Down Expand Up @@ -99,8 +98,6 @@ private function runMDA(Federation $federation)

public function handle()
{
RsTag::hello();

/* $federation = Federation::where('id', 1)->first();
$this->runMDA($federation);*/

Expand Down
5 changes: 0 additions & 5 deletions app/Services/HfdTagService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ class HfdTagService

private string $value = 'http://refeds.org/category/hide-from-discovery';

public function hello()
{
dump('hello');
}

public function create(Entity $entity): false|string
{
$mdURI = config('xmlNameSpace.md');
Expand Down
4 changes: 0 additions & 4 deletions app/Traits/DumpFromGit/EntitiesHelp/UpdateEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ public function updateEntityXml($entity, array $timestampDocumentArray = []): vo
}

$xml_document = $entity->xml_file;
$isIdp = false;
if ($entity->type == 'idp') {
$isIdp = true;
}
RsTag::update($entity);
if (! empty($entity->category_id)) {
$xml_document = $this->updateXmlCategories($xml_document, $entity->category_id);
Expand Down
1 change: 0 additions & 1 deletion resources/views/entities/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
@includeWhen(request()->user()->cannot('do-everything') &&
request()->user()->can('update', $entity) &&
$entity->type->value === 'sp' &&
$entity->federations()->where('xml_name', Config::get('git.rs_federation'))->count() &&
!$entity->rs,
'entities.partials.askrs')

Expand Down

0 comments on commit 8ab4cce

Please sign in to comment.