Changeset 2097


Ignore:
Timestamp:
15 Aug 2007, 15:14:29 (17 years ago)
Author:
Henrik Bettermann
Message:

see ticket #331 (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/deleteResultByKey.py

    r2007 r2097  
    2424res_imp = context.results_import
    2525students = context.portal_url.getPortalObject().campus.students
    26 if str(member) not in ('admin','joachim') or key is None:
     26if str(member) not in ('admin','joachim','med','despej') or key is None:
    2727    return
    2828
     
    3737        res_imp.deleteRecord(r.key)
    3838        res_deleted.append(r.key)
    39     msg = "%s result deleted from results_import" % (',\n'.join(res_deleted))
     39    msg = "%s deleted result %s from results_import" % (member,',\n'.join(res_deleted))
    4040else:
    4141    msg = "No results %s to delete from results_import" % key
Note: See TracChangeset for help on using the changeset viewer.