Created
February 16, 2010 19:21
-
-
Save tmcw/305814 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/keyauth.admin.inc b/keyauth.admin.inc | |
| index 9a77812..0078184 100644 | |
| --- a/keyauth.admin.inc | |
| +++ b/keyauth.admin.inc | |
| @@ -32,7 +32,9 @@ function keyauth_admin_keys_list() { | |
| } | |
| $row[] = $status; | |
| $row[] = l($edit, 'admin/build/keys/'. $key['public_key']); | |
| - $row[] = l(t('generate'), 'admin/build/keys/'. $key['public_key'] .'/generate'); | |
| + if ($key['export_type'] == EXPORT_IN_DATABASE) { | |
| + $row[] = l(t('generate'), 'admin/build/keys/'. $key['public_key'] .'/generate'); | |
| + } | |
| if ($delete) { | |
| $row[] = l($delete, 'admin/build/keys/'. $key['public_key'] .'/delete'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment