You may check thisDownload the patch from LINKHERE. I hope this may help you
This patch changes all hook_perm()
.
<?php
$perms = array(
'permission internal name' => array(
'title' => t('Permission title'),
'description' => t('The permissions does this and that.'),
),
}
?>
Read the comments for better understanding. Read Here.