projects
/
web.Reddit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40e881
)
Reddit/ImportEmbed.php
author
Alan Knowles
<alan@roojs.com>
Tue, 16 Dec 2014 10:12:15 +0000
(18:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 16 Dec 2014 10:12:15 +0000
(18:12 +0800)
Reddit/ImportEmbed.php
patch
|
blob
|
history
diff --git
a/Reddit/ImportEmbed.php
b/Reddit/ImportEmbed.php
index
a64df62
..
2af9354
100644
(file)
--- a/
Reddit/ImportEmbed.php
+++ b/
Reddit/ImportEmbed.php
@@
-15,6
+15,13
@@
class Reddit_ImportEmbed extends Pman {
}
function get($arg = '')
{
+ $dd = DB_DataObject::factory('reddit_livefeed');
+ $dd->find();
+ while($dd->fetch()) {
+ $dd->convertEmbed();
+ }
+
+
//DB_DataObject::debugLevel(1);
$dd = DB_DataObject::factory('reddit_livefeed_embed');
$dd->orderBy('id DESC');