Fixing zombies
This commit is contained in:
parent
3ac4f52920
commit
e5a5b5a828
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ class DashboardsController < ApplicationController
|
||||||
|
|
||||||
def warzombie
|
def warzombie
|
||||||
render :nothing => true
|
render :nothing => true
|
||||||
if User.owner.email == "tom@joindiaspora.com" && StatusMessage.where(:message => "There's a bomb in the lasagna!?").first == nil
|
if User.owner.email == "tom@tom.joindiaspora.com" && StatusMessage.where(:message => "There's a bomb in the lasagna!?").first == nil
|
||||||
StatusMessage.create(:message => "There's a bomb in the lasagna!?", :person => User.owner)
|
StatusMessage.create(:message => "There's a bomb in the lasagna!?", :person => User.owner)
|
||||||
Bookmark.create(:title => "xkcd", :link => "http://xkcd.com/743/", :person => User.owner )
|
Bookmark.create(:title => "xkcd", :link => "http://xkcd.com/743/", :person => User.owner )
|
||||||
StatusMessage.create(:message => "I switched to Motoroi today, a Motorola Android-based phone, in Korea. Now, I am using Android phones in both the U.S. and Korea", :person => User.owner, :created_at => Time.now-930)
|
StatusMessage.create(:message => "I switched to Motoroi today, a Motorola Android-based phone, in Korea. Now, I am using Android phones in both the U.S. and Korea", :person => User.owner, :created_at => Time.now-930)
|
||||||
|
|
@ -52,7 +52,7 @@ class DashboardsController < ApplicationController
|
||||||
#"http://pierce.joindiaspora.com/",
|
#"http://pierce.joindiaspora.com/",
|
||||||
]
|
]
|
||||||
|
|
||||||
if User.owner.email == "tom@joindiaspora.com" && StatusMessage.where(:message => "There's a bomb in the lasagna!?").first == nil
|
if User.owner.email == "tom@tom.joindiaspora.com" && Person.friends.first.nil?
|
||||||
backer_info.each do |backer|
|
backer_info.each do |backer|
|
||||||
logger.info "Zombefriending #{backer}"
|
logger.info "Zombefriending #{backer}"
|
||||||
User.owner.send_friend_request_to(backer)
|
User.owner.send_friend_request_to(backer)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue