Changeset 1094

Show
Ignore:
Timestamp:
05/11/07 12:13:53 (2 years ago)
Author:
ben
Message:

Only the owner of a file or the community owner can smish a file uploaded into a community repository.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/community/lib/permissions_check.php

    r1080 r1094  
    4545            if (record_exists('users','ident',$owner,'owner',$USER->ident,'user_type','community')) { 
    4646                $run_result = true; 
    47             } 
     47            }/* 
    4848            if (empty($run_result)) { 
    4949                if (count_records_sql('SELECT count(u.ident) FROM '.$CFG->prefix.'friends f 
     
    5353                    $run_result = true; 
    5454                } 
    55             } 
     55            }*/ 
    5656            break; 
    5757        case    "userdetails:change":