[geeklog-cvs] Geeklog-1.x/system lib-plugins.php, 1.135, 1.136 lib-story.php, 1.112, 1.113 lib-webservices.php, 1.20, 1.21
Ramnath Iyer
riyer at qs1489.pair.com
Sat Nov 24 07:42:59 EST 2007
Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv70549/system
Modified Files:
lib-plugins.php lib-story.php lib-webservices.php
Log Message:
Renamed PLG_servicesEnabled to PLG_wsEnabled
Renamed plugin_ws_enabled_XXX to plugin_wsEnabled_XXX
Index: lib-webservices.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-webservices.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** lib-webservices.php 23 Nov 2007 08:40:52 -0000 1.20
--- lib-webservices.php 24 Nov 2007 12:42:57 -0000 1.21
***************
*** 253,257 ****
/* Handle the story 'plugin' separately */
! if (PLG_servicesEnabled('story')) {
$_ws_plugins[] = 'story';
}
--- 253,257 ----
/* Handle the story 'plugin' separately */
! if (PLG_wsEnabled('story')) {
$_ws_plugins[] = 'story';
}
***************
*** 259,263 ****
if (is_array($_PLUGINS)) {
foreach ($_PLUGINS as $pi) {
! if (PLG_servicesEnabled($pi)) {
$_ws_plugins[] = $pi;
}
--- 259,263 ----
if (is_array($_PLUGINS)) {
foreach ($_PLUGINS as $pi) {
! if (PLG_wsEnabled($pi)) {
$_ws_plugins[] = $pi;
}
Index: lib-story.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -d -r1.112 -r1.113
*** lib-story.php 23 Nov 2007 08:40:52 -0000 1.112
--- lib-story.php 24 Nov 2007 12:42:57 -0000 1.113
***************
*** 985,989 ****
* @return bool True, if webservices are supported
*/
! function plugin_ws_enabled_story() {
return true;
}
--- 985,989 ----
* @return bool True, if webservices are supported
*/
! function plugin_wsEnabled_story() {
return true;
}
Index: lib-plugins.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-plugins.php,v
retrieving revision 1.135
retrieving revision 1.136
diff -C2 -d -r1.135 -r1.136
*** lib-plugins.php 23 Nov 2007 08:40:52 -0000 1.135
--- lib-plugins.php 24 Nov 2007 12:42:57 -0000 1.136
***************
*** 2308,2312 ****
$function = 'service_' . $action . '_' . $type;
! if (function_exists($function) && PLG_servicesEnabled($type)) {
$retval = $function($args, $output, $svc_msg);
}
--- 2308,2312 ----
$function = 'service_' . $action . '_' . $type;
! if (function_exists($function) && PLG_wsEnabled($type)) {
$retval = $function($args, $output, $svc_msg);
}
***************
*** 2320,2324 ****
* @param string type The plugin type that is to be checked
*/
! function PLG_servicesEnabled($type) {
global $_CONF;
--- 2320,2324 ----
* @param string type The plugin type that is to be checked
*/
! function PLG_wsEnabled($type) {
global $_CONF;
***************
*** 2326,2330 ****
require_once $_CONF['path_system'] . 'lib-story.php';
! $function = 'plugin_ws_enabled_' . $type;
if (function_exists($function)) {
return $function();
--- 2326,2330 ----
require_once $_CONF['path_system'] . 'lib-story.php';
! $function = 'plugin_wsEnabled_' . $type;
if (function_exists($function)) {
return $function();
More information about the geeklog-cvs
mailing list