mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Cleanup
This commit is contained in:
@@ -1232,9 +1232,6 @@ class task_period_outofdate extends task_abstract
|
||||
);
|
||||
|
||||
phrasea::headers(200, true, 'application/json', 'UTF-8', false);
|
||||
// return("hello4");
|
||||
//var_dump($parm2);
|
||||
//return;
|
||||
$ret = NULL;
|
||||
switch($parm2['ACT'])
|
||||
{
|
||||
|
@@ -109,7 +109,6 @@ class ControllerFeedApp extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
{
|
||||
$appbox = appbox::get_instance();
|
||||
$crawler = $this->client->request('POST', '/feeds/requestavailable/');
|
||||
var_dump($this->client->getResponse()->getStatusCode());
|
||||
$this->assertTrue($this->client->getResponse()->isOk());
|
||||
$feeds = Feed_Collection::load_all($appbox, self::$user);
|
||||
foreach ($feeds->get_feeds() as $one_feed)
|
||||
|
@@ -41,7 +41,6 @@ if (!$parm['bas'])
|
||||
|
||||
$parm["pag"] = (int) $parm["pag"];
|
||||
$mod = $user->getPrefs('view');
|
||||
//var_dump($session->get_ses_id(), phrasea_open_session($session->get_ses_id(), $session->get_usr_id()));
|
||||
function dmicrotime_float($message = '', $stack = 'def')
|
||||
{
|
||||
static $last = array();
|
||||
@@ -49,9 +48,6 @@ function dmicrotime_float($message = '', $stack = 'def')
|
||||
|
||||
$new = ((float) $usec + (float) $sec);
|
||||
|
||||
// if (isset($last[$stack]) && $message)
|
||||
// echo "$stack \t\t temps : $message " . ($new - $last[$stack]) . "\n";
|
||||
|
||||
$last[$stack] = $new;
|
||||
|
||||
return ($new - $last[$stack]);
|
||||
|
@@ -64,9 +64,6 @@ if ($parm["bid"] !== null)
|
||||
$s_thits .= ( str_replace('d', '.', $rowbas['value']) . ';');
|
||||
}
|
||||
|
||||
if ($parm['debug'])
|
||||
var_dump($s_thits);
|
||||
|
||||
if ($parm['typ'] == 'CT')
|
||||
{
|
||||
$dom = $databox->get_dom_cterms();
|
||||
|
@@ -242,10 +242,7 @@ function simplified($t)
|
||||
return(array('a' => $sa, 'u' => $su));
|
||||
}
|
||||
|
||||
if ($parm['debug'])
|
||||
var_dump($result);
|
||||
else
|
||||
print(p4string::jsonencode(array('parm' => $parm, 'result' => $result)));
|
||||
print(p4string::jsonencode(array('parm' => $parm, 'result' => $result)));
|
||||
|
||||
if ($parm['debug'])
|
||||
print("</pre>");
|
||||
|
Reference in New Issue
Block a user