Skip to content

Commit

Permalink
Fixed syntax errors and removed the $log_file variable all together (…
Browse files Browse the repository at this point in the history
…not used anywhere, unnecessary!)

Signed-off-by: Joakim Jardenberg <joakim@jardenberg.com>
  • Loading branch information
worldeggplant authored and jardenberg committed Jun 8, 2009
1 parent 0056582 commit c5146b0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions shared-items-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ function gd_compare_items($a, $b) {
if (!class_exists('SharedItemsPost')) {
class SharedItemsPost
{
// var $log_file = "c:/log.txt";
// a bit more logical to make it dynamic and place it in the plugin folder.
var $log_file = dirname(__FILE__).'/log.txt';

var $options_key = 'shared-items-post-options';
var $google_feed_url = 'http://www.google.com/reader/public/atom/user/%s/state/com.google/broadcast';
Expand Down Expand Up @@ -64,8 +61,8 @@ class SharedItemsPost
'post_comments' => 1,
'last_crawl' => 0,
'last_refresh' => 0,
'last_refresh_feed' => 0
'last_refresh_date' => 0; // FIX: check/set the current date in the prototype, then exit if already run
'last_refresh_feed' => 0,
'last_refresh_date' => 0 // FIX: check/set the current date in the prototype, then exit if already run
);

var $item_elements = array (
Expand Down

0 comments on commit c5146b0

Please sign in to comment.