Remove references to APP_URL and LDAP_BASE_DN, they are not actually used

This commit is contained in:
2025-06-17 10:04:39 +10:00
parent 781c87cb83
commit 2a691c147e
5 changed files with 2 additions and 23 deletions

View File

@@ -29,7 +29,7 @@ abstract class Export
abstract public function __toString(): string;
protected function header()
protected function header(): string
{
$output = '';
@@ -42,7 +42,7 @@ abstract class Export
//$output .= sprintf('# %s: %s',__('Search Filter'),$this->entry->dn).$this->br;
$output .= sprintf('# %s: %s',__('Total Entries'),$this->items->count()).$this->br;
$output .= '#'.$this->br;
$output .= sprintf('# %s %s (%s) on %s',__('Generated by'),config('app.name'),config('app.url'),date('F j, Y g:i a')).$this->br;
$output .= sprintf('# %s %s (%s) on %s',__('Generated by'),config('app.name'),request()->root(),date('F j, Y g:i a')).$this->br;
$output .= sprintf('# %s %s',__('Exported by'),Auth::user() ?: 'Anonymous').$this->br;
$output .= sprintf('# %s: %s',__('Version'),config('app.version')).$this->br;