Changeset 2048 for trunk/picture.php


Ignore:
Timestamp:
Jun 30, 2007, 3:40:19 AM (17 years ago)
Author:
rvelices
Message:
  • fix help files
  • feature 695 added action loc_user_profile_updated in profile.php
  • added event allow_increment_element_hit_count in picture.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r2029 r2048  
    242242
    243243// incrementation of the number of hits, we do this only if no action
    244 $query = '
     244if (trigger_event('allow_increment_element_hit_count', true) )
     245{
     246  $query = '
    245247UPDATE
    246248  '.IMAGES_TABLE.'
     
    248250  WHERE id = '.$page['image_id'].'
    249251;';
    250 pwg_query($query);
    251 
     252  pwg_query($query);
     253}
    252254//---------------------------------------------------------- related categories
    253255$query = '
Note: See TracChangeset for help on using the changeset viewer.