/[drupal]/contributions/modules/gdata/extras/gdata_gdata.inc
ViewVC logotype

Diff of /contributions/modules/gdata/extras/gdata_gdata.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Sun Sep 3 17:11:38 2006 UTC revision 1.3, Mon Sep 4 14:46:20 2006 UTC
# Line 21  Line 21 
21    
22  function gdata_gdata($op, $path = '') {  function gdata_gdata($op, $path = '') {
23    global $base_url, $user;    global $base_url, $user;
   if (0 == ($module_details = variable_get('gdata_gdata', 0))) {  
     die(_gdata_error('error'));  
   }  
24    switch ($op) {    switch ($op) {
25      case 'read':      case 'read':
26          if (0 == ($module_details = variable_get('gdata_gdata', 0))) {
27            die(_gdata_error('error'));
28          }
29        $sql = 'SELECT * from {myfeed}';        $sql = 'SELECT * from {myfeed}';
30        if (false !== ($nodes = db_query($sql))) {        if (false !== ($nodes = db_query($sql))) {
31          if (0 != db_num_rows($nodes)) {          if (0 != db_num_rows($nodes)) {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2