Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 14. november 2026

Rozdiely pre Metafox/db.inc.php medzi verziami 1.41 a 1.42

verzia 1.41, 2007/04/22 21:30:06 verzia 1.42, 2007/11/01 23:01:40
Riadok 17 
Riadok 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/db.inc.php,v 1.40 2007-04-22 15:37:53 nepto Exp $ */  /* $Platon: Metafox/db.inc.php,v 1.41 2007-04-22 21:30:06 rajo Exp $ */
   
 /*  /*
  * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002   * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002
Riadok 850  function ezin_set_article_counts($articl
Riadok 850  function ezin_set_article_counts($articl
  * ezin_update_message_count()   * ezin_update_message_count()
  */   */
   
 function ezin_update_message_count($article_id, $direction = 1, $count = 1) /* {{{ */  function ezin_update_message_count($article_id, $direction = 0, $count = -1) /* {{{ */
 {  {
         global $ezin_sys;          global $ezin_sys;
         global $ezin_db_handle;          global $ezin_db_handle;
Riadok 859  function ezin_update_message_count($arti
Riadok 859  function ezin_update_message_count($arti
         $direction  = intval($direction);          $direction  = intval($direction);
         $count      = intval($count);          $count      = intval($count);
   
           if ($article_id <= 0) {
                   return false;
           }
   
           if ($direction == 0 && $count < 0) {
                   $count = ezin_get_message_count($article_id);
           }
   
         $query = 'UPDATE '.$ezin_sys['db']['tables']['articles']          $query = 'UPDATE '.$ezin_sys['db']['tables']['articles']
                 .' SET message_count = '                  .' SET message_count = '
                 . ($direction == 0                  . ($direction == 0

Legend:
Odstranené z verzie1.41  
zmenené riadky
  Pridané vo verzii1.42

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok