Changeset 22979


Ignore:
Timestamp:
May 31, 2013, 2:23:45 PM (11 years ago)
Author:
plg
Message:

merge r22978 from branch 2.5 to trunk

bug 2915 fixed: really disable synchronization on synchronization and site (directories) manager screens.

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/site_manager.php

    r19703 r22979  
    3232// | Check Access and exit when user status is not ok                      |
    3333// +-----------------------------------------------------------------------+
     34
     35if (!$conf['enable_synchronization'])
     36{
     37  die('synchronization is disabled');
     38}
     39
    3440check_status(ACCESS_ADMINISTRATOR);
    3541
  • trunk/admin/site_update.php

    r19703 r22979  
    3232// | Check Access and exit when user status is not ok                      |
    3333// +-----------------------------------------------------------------------+
     34
     35if (!$conf['enable_synchronization'])
     36{
     37  die('synchronization is disabled');
     38}
     39
    3440check_status(ACCESS_ADMINISTRATOR);
    3541
Note: See TracChangeset for help on using the changeset viewer.