diff --git a/system/htmly.php b/system/htmly.php
index 391b6d5..884a4b6 100644
--- a/system/htmly.php
+++ b/system/htmly.php
@@ -6,7 +6,6 @@ date_default_timezone_set('Asia/Jakarta');
// Explicitly including the dispatch framework,
// and our functions.php file
require 'system/includes/dispatch.php';
-require 'system/includes/updater.php';
require 'system/includes/functions.php';
require 'system/admin/admin.php';
require 'system/includes/session.php';
@@ -1228,7 +1227,7 @@ get('/feed/opml', function() {
get('/admin/update/now/:csrf', function($CSRF) {
$proper = is_csrf_proper($CSRF);
- $updater = new \Kanti\Updater(array(
+ $updater = new \Kanti\HubUpdater(array(
'name' => 'danpros/htmly',
'prerelease' => !!config("prerelease"),
));
diff --git a/system/includes/functions.php b/system/includes/functions.php
index f381a31..d8e5e57 100644
--- a/system/includes/functions.php
+++ b/system/includes/functions.php
@@ -7,6 +7,7 @@ use \Michelf\MarkdownExtra;
use \Suin\RSSWriter\Feed;
use \Suin\RSSWriter\Channel;
use \Suin\RSSWriter\Item;
+use \Kanti\HubUpdater;
// Get blog post path. Unsorted. Mostly used on widget.
function get_post_unsorted() {
@@ -1622,7 +1623,7 @@ function toolbar() {
$CSRF = get_csrf();
- $updater = new \Kanti\Updater(array(
+ $updater = new HubUpdater(array(
'name' => 'danpros/htmly',
'prerelease' => !!config("prerelease"),
));