r56091 - /trunk/timesheet/inc/class.timesheet_ui.inc.php

classic Classic list List threaded Threaded
1 message Options
ralfbecker_sf ralfbecker_sf
Reply | Threaded
Open this post in threaded view
|

r56091 - /trunk/timesheet/inc/class.timesheet_ui.inc.php

Author: ralfbecker
Date: Mon May  9 11:30:03 2016
New Revision: 56091

URL: http://svn.stylite.de/viewvc/egroupware?rev=56091&view=rev
Log:
fix PHP Fatal error:  Call to undefined method EGroupware\Api\Session::appsession()

Modified:
    trunk/timesheet/inc/class.timesheet_ui.inc.php

Modified: trunk/timesheet/inc/class.timesheet_ui.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/timesheet/inc/class.timesheet_ui.inc.php?rev=56091&r1=56090&r2=56091&view=diff
==============================================================================
--- trunk/timesheet/inc/class.timesheet_ui.inc.php (original)
+++ trunk/timesheet/inc/class.timesheet_ui.inc.php Mon May  9 11:30:03 2016
@@ -471,7 +471,7 @@
  function get_rows(&$query_in,&$rows,&$readonlys,$id_only=false)
  {
  $this->show_sums = false;
-
+
  $query_in['enddate'] = $query_in['enddate'] ? $query_in['enddate'] : time();
  $date_filter = $this->date_filter($query_in['filter'],$query_in['startdate'],$query_in['enddate']);
 
@@ -513,7 +513,7 @@
  }
  }
  //echo "<p align=right>show_sums=".print_r($this->show_sums,true)."</p>\n";
- if (!$id_only && !$query_in['csv_export']) $GLOBALS['egw']->session->appsession('index',TIMESHEET_APP,$query_in);
+ if (!$id_only && !$query_in['csv_export']) Api\Cache::setSession(TIMESHEET_APP, 'index', $query_in);
 
  // Refresh actions (undelete needs this)
  $query_in['actions'] = $this->get_actions($query_in);
@@ -866,7 +866,7 @@
  }
 
  $content = array(
- 'nm' => $GLOBALS['egw']->session->appsession('index',TIMESHEET_APP),
+ 'nm' => Api\Cache::getSession(TIMESHEET_APP, 'index'),
  'msg' => $msg,
  );
  if (!is_array($content['nm']))


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
eGroupWare-cvs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs