Changeset 21630


Ignore:
Timestamp:
03/17/13 12:14:33 (6 years ago)
Author:
ddtddt
Message:

[extensions] - Photo_add_by

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Photo_add_by/maintain.inc.php

    r21222 r21630  
    1010} 
    1111 
     12function plugin_activate() 
     13{ 
     14  global $conf; 
     15  if (empty($conf['Photo_add_by'])) 
     16  { 
     17        $query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) VALUES ("Photo_add_by","datecreate","Photo_add_by");'; 
     18    pwg_query($query); 
     19  } 
     20} 
     21 
     22 
    1223function plugin_uninstall() 
    1324{ 
Note: See TracChangeset for help on using the changeset viewer.