Remove debug output
This commit is contained in:
parent
0420cec1d8
commit
358e5fd7a0
1 changed files with 0 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue