git.cweiske.de
/
tt-rss-micropub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Posting works via AJAX now
[tt-rss-micropub.git]
/
init.php
diff --git
a/init.php
b/init.php
index 863608c88cf68e8ab2035e011f61ea5dc6642c83..0f9a2bb8725c4383b6381f5aaaf96e93c61b2177 100644
(file)
--- a/
init.php
+++ b/
init.php
@@
-87,7
+87,6
@@
class Micropub extends Plugin implements IHandler
if (!count($accounts)) {
return $article;
}
- array_shift($accounts);
ob_start();
include __DIR__ . '/commentform.phtml';
$html = ob_get_clean();
@@
-239,6
+238,7
@@
class Micropub extends Plugin implements IHandler
[
'code' => intval($code),
'location' => $location,
+ 'message' => 'Post created',
]
);
exit();