Skip to content

Commit

Permalink
revert uninentional merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Dec 23, 2024
1 parent c22c0b6 commit 0ac628b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
15 changes: 0 additions & 15 deletions migrations/1.5.2-reinstall-custom-endpoint.php

This file was deleted.

2 changes: 0 additions & 2 deletions src/class-endpoint-installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public function get_file_name(): string

public function get_file_contents(): string
{
$timezone = wp_timezone_string();
$buffer_filename = get_buffer_filename();
$functions_filename = KOKO_ANALYTICS_PLUGIN_DIR . '/src/collect-functions.php';
return <<<EOT
Expand All @@ -32,7 +31,6 @@ public function get_file_contents(): string
// path to pageviews.php file in uploads directory
define('KOKO_ANALYTICS_BUFFER_FILE', '$buffer_filename');
define('KOKO_ANALYTICS_TIMEZONE', '$timezone');
// path to functions.php file in Koko Analytics plugin directory
require '$functions_filename';
Expand Down

0 comments on commit 0ac628b

Please sign in to comment.