[geeklog-cvs] Geeklog-1.x/system lib-plugins.php,1.137,1.138

Dirk Haun dhaun at qs1489.pair.com
Sat Dec 29 10:04:29 EST 2007


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv40843/system

Modified Files:
	lib-plugins.php 
Log Message:
In PLG_invokeService, set $args['gl_svc'] = false (if not set) to save us a bunch of checks and warnings elsewhere


Index: lib-plugins.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-plugins.php,v
retrieving revision 1.137
retrieving revision 1.138
diff -C2 -d -r1.137 -r1.138
*** lib-plugins.php	25 Nov 2007 06:55:07 -0000	1.137
--- lib-plugins.php	29 Dec 2007 15:04:27 -0000	1.138
***************
*** 3,7 ****
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Geeklog 1.4                                                               |
  // +---------------------------------------------------------------------------+
  // | lib-plugins.php                                                           |
--- 3,7 ----
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Geeklog 1.5                                                               |
  // +---------------------------------------------------------------------------+
  // | lib-plugins.php                                                           |
***************
*** 2302,2306 ****
      require_once $_CONF['path_system'] . 'lib-story.php';
  
!     $output = '';
      $svc_msg = '';
  
--- 2302,2306 ----
      require_once $_CONF['path_system'] . 'lib-story.php';
  
!     $output  = '';
      $svc_msg = '';
  
***************
*** 2309,2312 ****
--- 2309,2315 ----
  
      if (function_exists($function) && PLG_wsEnabled($type)) {
+         if (!isset($args['gl_svc'])) {
+             $args['gl_svc'] = false;
+         }
          $retval = $function($args, $output, $svc_msg);
      }




More information about the geeklog-cvs mailing list