Skip to content

Commit

Permalink
auth fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed Mar 26, 2010
1 parent d2e8749 commit 68c50bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/omb/plugins/security.php
Expand Up @@ -1952,6 +1952,7 @@ function setup_new_tweetiepic( &$rec ) {
function set_my_tweetiepic_pass() {

$stream = get_option('tweetiepic_stream',get_profile_id());
global $db;

if ($stream){
$Blog =& $db->model('Blog');
Expand Down Expand Up @@ -1982,7 +1983,6 @@ function set_my_tweetiepic_pass() {

function render_rss_feed($pro,$tweets){
global $request;
$loopcount = 0;
echo '<?xml version="1.0"?>
<!-- RSS generated by OpenMicroBlogger v0.5.0 on '.date( "n/j/Y; g:i:s A e" ).' -->
<rss version="2.0" xmlns:scripting="http://flickrfan.org/scriptingNamespace.html" xmlns:media="http://search.yahoo.com/mrss/">
Expand All @@ -2001,8 +2001,7 @@ function render_rss_feed($pro,$tweets){
';

while ($p = $tweets->MoveNext()) {
$loopcount++;
if ($loopcount > 1) break;

$posturl = $request->url_for(array('resource'=>'posts','id'=>$p->id));
$comurl = $posturl;
echo ' <item>
Expand Down

0 comments on commit 68c50bd

Please sign in to comment.