Remove debug output

This commit is contained in:
Knah Tsaeb 2024-12-05 16:15:14 +01:00
parent 0420cec1d8
commit 358e5fd7a0

View file

@ -2,7 +2,6 @@
namespace App\Blogs; namespace App\Blogs;
use App\Utils\Debug;
use Cocur\Slugify\Slugify; use Cocur\Slugify\Slugify;
use League\CommonMark\Environment\Environment; use League\CommonMark\Environment\Environment;
use League\CommonMark\Extension\DisallowedRawHtml\DisallowedRawHtmlExtension; use League\CommonMark\Extension\DisallowedRawHtml\DisallowedRawHtmlExtension;
@ -122,7 +121,6 @@ class Blogs {
*/ */
public function findPostBySlug(string $slug): string { public function findPostBySlug(string $slug): string {
debug::n_print($slug);
if (!empty($this->mdFileCache[$slug]) && file_exists($this->mdFileCache[$slug]['file'])) { if (!empty($this->mdFileCache[$slug]) && file_exists($this->mdFileCache[$slug]['file'])) {
return file_get_contents($this->mdFileCache[$slug]['file']); return file_get_contents($this->mdFileCache[$slug]['file']);
} else { } else {