roadmap fixes

This commit is contained in:
Jeremy Kauffman 2016-10-11 09:24:56 -04:00
parent 01a14aa04e
commit db5eb7e88a
5 changed files with 6 additions and 59 deletions

View file

@ -193,7 +193,7 @@ class ContentActions extends Actions
public static function executeRoadmap()
{
$cache = !isset($_GET['nocache']);
$cache = !Request::getParam('nocache');
$githubItems = Github::listRoadmapChangesets($cache);
$projectMaxVersions = [];

View file

@ -6,52 +6,8 @@ class Asana
public static function listRoadmapTasks($cache = true)
{
/*
* return static::get('/projects');
[55] => Array
(
[id] => 158602294500138
[name] => Browser
)
// Use print_r(static::get('/projects')) to get project IDs
[56] => Array
(
[id] => 158602294500137
[name] => Daemon
)
[57] => Array
(
[id] => 161514803479899
[name] => Blockchain and Wallet
)
[60] => Array
(
[id] => 158829550589337
[name] => Reporting and Analytics
)
[61] => Array
(
[id] => 158602294500214
[name] => Other
)
[62] => Array
(
[id] => 136290697597644
[name] => CI
)
[63] => Array
(
[id] => 158602294500249
[name] => Documentation
)
*/
// return static::get('/projects');
$projects = [
158602294500138 => ['LBRY Browser', 'https://github.com/lbryio/lbry-web-ui'],
158602294500137 => ['LBRY Data Network', 'https://github.com/lbryio/lbry'],
@ -127,4 +83,4 @@ class Asana
class AsanaException extends Exception
{
}
}

View file

@ -114,8 +114,6 @@ class Github
});
}
return $sets;
}
}

View file

@ -20,10 +20,10 @@ class Prefinery
'json_data' => true,
'json_response' => true
];
public static function findUser($emailOrId, $useApc = true)
{
$apcEnabled = extension_loaded('apc') && ini_get('apc.enabled');
$apcEnabled = Apc::isEnabled();
if ($useApc && $apcEnabled)
{
$cached = apc_fetch('prefinery-user-' . $emailOrId, $success);
@ -113,8 +113,7 @@ class Prefinery
{
throw new PrefineryException('Update tester must be called with a tester id');
}
$apcEnabled = extension_loaded('apc') && ini_get('apc.enabled');
if ($apcEnabled)
if (Apc::isEnabled())
{
apc_delete('prefinery-user-' . $testerData['id']);
}

View file

@ -1,11 +1,5 @@
<?php
/**
* Created by PhpStorm.
* User: kauffj
* Date: 8/16/16
* Time: 8:18 PM
*/
class Os
{
const OS_ANDROID = 'android',