rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 894b6a4efe5fa027cf48b534de9c7ff49b88de80
parent 5e906ed0ad7656f359c679b893fc7fb2bba3e4b6
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 28 Feb 2015 20:50:23 +0100

now

Diffstat:
Mthemes/jumbotron/update.php | 16++--------------
1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/themes/jumbotron/update.php b/themes/jumbotron/update.php @@ -34,20 +34,8 @@ global $root, $root_1, $root_2, $root_3; $update = new AutoUpdate($root . '/temp/', $root . '/', 60); $update->setCurrentVersion('1.0.0'); $update->setUpdateUrl('http://media.nordgedanken.de/rpicms/server'); -function BranchStable() -{ - $update->setUpdateFile('update.json'); - $update->setBranch('stable'); - $response = $update->checkUpdate(); - $this->assertTrue($response); -} -function BranchDevelop() -{ - $update->setUpdateFile('update.json'); - $update->setBranch('nightly'); - $response = $update>checkUpdate(); - $this->assertTrue($response); -} +$update->setUpdateFile('update.json'); +$update->setBranch('stable'); // Optional: $update->addLogHandler(new Monolog\Handler\StreamHandler($root . '/core/update/update.log'));